arnaucube
arnaucube/circomPublic Self-hosted repository
circom/jaz.js
jaz.jsRaw
   1/* parser generated by jison 0.4.18 */
   2/*
   3  Returns a Parser object of the following structure:
   4
   5  Parser: {
   6    yy: {}
   7  }
   8
   9  Parser.prototype: {
  10    yy: {},
  11    trace: function(),
  12    symbols_: {associative list: name ==> number},
  13    terminals_: {associative list: number ==> name},
  14    productions_: [...],
  15    performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),
  16    table: [...],
  17    defaultActions: {...},
  18    parseError: function(str, hash),
  19    parse: function(input),
  20
  21    lexer: {
  22        EOF: 1,
  23        parseError: function(str, hash),
  24        setInput: function(input),
  25        input: function(),
  26        unput: function(str),
  27        more: function(),
  28        less: function(n),
  29        pastInput: function(),
  30        upcomingInput: function(),
  31        showPosition: function(),
  32        test_match: function(regex_match_array, rule_index),
  33        next: function(),
  34        lex: function(),
  35        begin: function(condition),
  36        popState: function(),
  37        _currentRules: function(),
  38        topState: function(),
  39        pushState: function(condition),
  40
  41        options: {
  42            ranges: boolean           (optional: true ==> token location info will include a .range[] member)
  43            flex: boolean             (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)
  44            backtrack_lexer: boolean  (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)
  45        },
  46
  47        performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),
  48        rules: [...],
  49        conditions: {associative list: name ==> set},
  50    }
  51  }
  52
  53
  54  token location info (@$, _$, etc.): {
  55    first_line: n,
  56    last_line: n,
  57    first_column: n,
  58    last_column: n,
  59    range: [start_number, end_number]       (where the numbers are indexes into the input string, regular zero-based)
  60  }
  61
  62
  63  the parseError function receives a 'hash' object with these members for lexer and parser errors: {
  64    text:        (matched text)
  65    token:       (the produced terminal token, if any)
  66    line:        (yylineno)
  67  }
  68  while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {
  69    loc:         (yylloc)
  70    expected:    (string describing the set of expected tokens)
  71    recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)
  72  }
  73*/
  74var jaz = (function(){
  75var o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,14],$V1=[1,31],$V2=[1,59],$V3=[1,15],$V4=[1,16],$V5=[1,17],$V6=[1,18],$V7=[1,19],$V8=[1,20],$V9=[1,23],$Va=[1,21],$Vb=[1,50],$Vc=[1,51],$Vd=[1,48],$Ve=[1,49],$Vf=[1,52],$Vg=[1,53],$Vh=[1,57],$Vi=[1,58],$Vj=[1,32],$Vk=[1,33],$Vl=[1,34],$Vm=[1,37],$Vn=[5,17,18,19,22,24,27,29,30,31,32,34,35,80,82,89,90,91,92,96,97,101,102,105,108],$Vo=[5,17,18,19,22,24,26,27,29,30,31,32,34,35,80,82,89,90,91,92,96,97,101,102,105,108],$Vp=[1,72],$Vq=[1,73],$Vr=[1,74],$Vs=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,59,61,63,65,67,69,71,72,74,75,76,77,79,80,82,83,85,86,87,91,92,96,97,101,102,105,108,109],$Vt=[2,94],$Vu=[1,88],$Vv=[1,89],$Vw=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,55,56,80,82,89,90,91,92,96,97,101,102,105,108,109],$Vx=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,54,55,56,59,61,63,65,67,69,71,72,74,75,76,77,79,80,82,83,85,86,87,89,90,91,92,96,97,101,102,105,109],$Vy=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,80,82,89,90,91,92,96,97,101,102,105,108,109],$Vz=[2,107],$VA=[1,96],$VB=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,59,80,82,89,90,91,92,96,97,101,102,105,108,109],$VC=[1,101],$VD=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,59,61,80,82,89,90,91,92,96,97,101,102,105,108,109],$VE=[1,104],$VF=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,59,61,63,80,82,89,90,91,92,96,97,101,102,105,108,109],$VG=[1,105],$VH=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,59,61,63,65,80,82,89,90,91,92,96,97,101,102,105,108,109],$VI=[1,106],$VJ=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,59,61,63,65,67,80,82,89,90,91,92,96,97,101,102,105,108,109],$VK=[1,107],$VL=[1,108],$VM=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,59,61,63,65,67,69,71,80,82,89,90,91,92,96,97,101,102,105,108,109],$VN=[1,109],$VO=[1,110],$VP=[1,111],$VQ=[1,112],$VR=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,59,61,63,65,67,69,71,72,74,75,76,80,82,89,90,91,92,96,97,101,102,105,108,109],$VS=[1,113],$VT=[1,114],$VU=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,59,61,63,65,67,69,71,72,74,75,76,77,79,89,90,91,92,96,97,101,102,105,108,109],$VV=[1,115],$VW=[1,116],$VX=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,59,61,63,65,67,69,71,72,74,75,76,77,79,80,82,89,90,91,92,96,97,101,102,105,108,109],$VY=[1,117],$VZ=[1,118],$V_=[1,119],$V$=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,59,61,63,65,67,69,71,72,74,75,76,77,79,80,82,83,85,86,89,90,91,92,96,97,101,102,105,108,109],$V01=[1,120],$V11=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,50,52,54,55,56,59,61,63,65,67,69,71,72,74,75,76,77,79,80,82,83,85,86,87,89,90,91,92,96,97,101,102,105,108,109],$V21=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,54,55,56,59,61,63,65,67,69,71,72,74,75,76,77,79,80,82,83,85,86,87,89,90,91,92,96,97,99,101,102,105,108,109],$V31=[1,163],$V41=[21,23,109],$V51=[1,184],$V61=[5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,56,80,82,89,90,91,92,96,97,101,102,105,108,109],$V71=[1,195],$V81=[21,23];
  76var parser = {trace: function trace() { },
  77yy: {},
  78symbols_: {"error":2,"allStatments":3,"statmentList":4,"EOF":5,"statment":6,"functionDefinitionStatment":7,"templateDefinitionStatment":8,"ifStatment":9,"forStatment":10,"whileStatment":11,"doWhileStatment":12,"returnStatment":13,"block":14,"expressionStatment":15,"includeStatment":16,"function":17,"IDENTIFIER":18,"(":19,"identifierList":20,")":21,"template":22,",":23,"if":24,"expression":25,"else":26,"for":27,";":28,"while":29,"do":30,"return":31,"include":32,"STRING":33,"{":34,"}":35,"e17":36,"leftHandExpression":37,"=":38,"+=":39,"-=":40,"*=":41,"/=":42,"%=":43,"<<=":44,">>=":45,"&=":46,"|=":47,"^=":48,"<==":49,"==>":50,"<--":51,"-->":52,"e16":53,"===":54,"?":55,":":56,"rightArray":57,"e15":58,"||":59,"e14":60,"&&":61,"e13":62,"|":63,"e12":64,"^":65,"e11":66,"&":67,"e10":68,"==":69,"e9":70,"!=":71,"<=":72,"e7":73,">=":74,"<":75,">":76,"<<":77,"e6":78,">>":79,"+":80,"e5":81,"-":82,"*":83,"e4":84,"/":85,"%":86,"**":87,"e3":88,"++":89,"--":90,"!":91,"~":92,"e2":93,"functionCall":94,"e0":95,"DECNUMBER":96,"HEXNUMBER":97,"simpleLeftHandExpression":98,".":99,"declaration":100,"var":101,"signal":102,"input":103,"output":104,"component":105,"array":106,"expressionList":107,"[":108,"]":109,"$accept":0,"$end":1},
  79terminals_: {2:"error",5:"EOF",17:"function",18:"IDENTIFIER",19:"(",21:")",22:"template",23:",",24:"if",26:"else",27:"for",28:";",29:"while",30:"do",31:"return",32:"include",33:"STRING",34:"{",35:"}",38:"=",39:"+=",40:"-=",41:"*=",42:"/=",43:"%=",44:"<<=",45:">>=",46:"&=",47:"|=",48:"^=",49:"<==",50:"==>",51:"<--",52:"-->",54:"===",55:"?",56:":",59:"||",61:"&&",63:"|",65:"^",67:"&",69:"==",71:"!=",72:"<=",74:">=",75:"<",76:">",77:"<<",79:">>",80:"+",82:"-",83:"*",85:"/",86:"%",87:"**",89:"++",90:"--",91:"!",92:"~",96:"DECNUMBER",97:"HEXNUMBER",99:".",101:"var",102:"signal",103:"input",104:"output",105:"component",108:"[",109:"]"},
  80productions_: [0,[3,2],[4,2],[4,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[7,6],[7,5],[8,6],[8,5],[20,3],[20,1],[9,7],[9,5],[10,9],[11,5],[12,6],[13,3],[13,2],[16,3],[16,2],[14,3],[15,2],[15,1],[25,1],[36,3],[36,3],[36,3],[36,3],[36,3],[36,3],[36,3],[36,3],[36,3],[36,3],[36,3],[36,3],[36,3],[36,3],[36,3],[36,3],[36,5],[36,1],[53,1],[53,1],[58,3],[58,1],[60,3],[60,1],[62,3],[62,1],[64,3],[64,1],[66,3],[66,1],[68,3],[68,3],[68,1],[70,3],[70,3],[70,3],[70,3],[70,1],[73,3],[73,3],[73,1],[78,3],[78,3],[78,1],[81,3],[81,3],[81,3],[81,1],[84,3],[84,1],[88,2],[88,2],[88,2],[88,2],[88,2],[88,2],[88,1],[93,2],[93,2],[93,1],[93,1],[95,1],[95,1],[95,1],[95,3],[37,3],[37,1],[37,1],[100,2],[100,2],[100,3],[100,3],[100,2],[98,2],[98,1],[94,4],[94,3],[107,3],[107,1],[57,1],[106,3]],
  81performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {
  82/* this == yyval */
  83
  84var $0 = $$.length - 1;
  85switch (yystate) {
  86case 1:
  87
  88//            console.log(JSON.stringify($$[$0-1], null, 1));
  89            this.$ = { type: "BLOCK", statements: $$[$0-1].statments };
  90            setLines(this.$, _$[$0-1]);
  91            return this.$
  92        
  93break;
  94case 2:
  95
  96            $$[$0-1].statments.push($$[$0]);
  97            setLines($$[$0-1], _$[$0-1], _$[$0]);
  98        
  99break;
 100case 3:
 101
 102            this.$ = { type: "STATMENTLIST", statments: [$$[$0]] };
 103            setLines(this.$, _$[$0]);
 104        
 105break;
 106case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11: case 12: case 13: case 31: case 32: case 60: case 62: case 76: case 80: case 82: case 89: case 92: case 93: case 112:
 107
 108            this.$ = $$[$0];
 109        
 110break;
 111case 14:
 112
 113            this.$ = { type: "FUNCTIONDEF", name: $$[$0-4], params: $$[$0-2].identifiers, block: $$[$0]};
 114            setLines(this.$, _$[$0-5], _$[$0]);
 115        
 116break;
 117case 15:
 118
 119            this.$ = { type: "FUNCTIONDEF", name: $$[$0-3], params: [], block: $$[$0] };
 120            setLines(this.$, _$[$0-4], _$[$0]);
 121        
 122break;
 123case 16:
 124
 125            this.$ = { type: "TEMPLATEDEF", name: $$[$0-4], params: $$[$0-2].identifiers, block: $$[$0] };
 126            setLines(this.$, _$[$0-5], _$[$0]);
 127        
 128break;
 129case 17:
 130
 131            this.$ = { type: "TEMPLATEDEF", name: $$[$0-3], params: [], block: $$[$0] };
 132            setLines(this.$, _$[$0-4], _$[$0]);
 133        
 134break;
 135case 18:
 136
 137            $$[$0-2].identifiers.push($$[$0]);
 138            setLines($$[$0-2], _$[$0-2], _$[$0]);
 139        
 140break;
 141case 19:
 142
 143            this.$ = { type: "IDENTIFIERLIST", identifiers: [$$[$0]] };
 144            setLines(this.$, _$[$0]);
 145        
 146break;
 147case 20:
 148
 149            if ($$[$0-4].type == "NUMBER") {
 150                this.$ = !$$[$0-4].value.eq(0) ? $$[$0-2] : $$[$0];
 151            } else {
 152                this.$ = { type: "IF", condition: $$[$0-4], then: $$[$0-2], else: $$[$0] };
 153            }
 154            setLines(this.$, _$[$0-6], _$[$0]);
 155        
 156break;
 157case 21:
 158
 159            if ($$[$0-2].type == "NUMBER") {
 160                this.$ = !$$[$0-2].value.eq(0) ? $$[$0] : { type: "NUMBER", value: bigInt(0) };
 161            } else {
 162                this.$ = { type: "IF", condition: $$[$0-2], then: $$[$0] };
 163            }
 164            setLines(this.$, _$[$0-4], _$[$0]);
 165        
 166break;
 167case 22:
 168
 169            this.$ = { type: "FOR", init: $$[$0-6], condition: $$[$0-4], step: $$[$0-2], body: $$[$0] };
 170            setLines(this.$, _$[$0-8], _$[$0]);
 171        
 172break;
 173case 23:
 174
 175            this.$ = { type: "WHILE", condition: $$[$0-2], body: $$[$0] };
 176            setLines(this.$, _$[$0-4], _$[$0]);
 177        
 178break;
 179case 24:
 180
 181            this.$ = { type: "DOWHILE", condition: $$[$0-1], body: $$[$0-4] };
 182            setLines(this.$, _$[$0-5], _$[$0]);
 183        
 184break;
 185case 25:
 186
 187            this.$ = { type: "RETURN", value: $$[$0-1] };
 188            setLines(this.$, _$[$0-2], _$[$0]);
 189        
 190break;
 191case 26:
 192
 193            this.$ = { type: "RETURN", value: $$[$0] }
 194            setLines(this.$, _$[$0-1], _$[$0]);
 195        
 196break;
 197case 27:
 198
 199            this.$ = { type: "INCLUDE", file: $$[$0-1] };
 200            setLines(this.$, _$[$0-2], _$[$0]);
 201        
 202break;
 203case 28:
 204
 205            this.$ = { type: "INCLUDE", file: $$[$0] }
 206            setLines(this.$, _$[$0-1], _$[$0]);
 207        
 208break;
 209case 29:
 210
 211            this.$ = { type: "BLOCK", statements: $$[$0-1].statments };
 212            setLines(this.$, _$[$0-2], _$[$0]);
 213        
 214break;
 215case 30:
 216
 217            this.$ = $$[$0-1];
 218        
 219break;
 220case 33:
 221
 222            this.$ = { type: "OP", op: "=", values: [$$[$0-2], $$[$0]] };
 223            setLines(this.$, _$[$0-2], _$[$0]);
 224        
 225break;
 226case 34:
 227
 228            this.$ = { type: "OP", op: "+=", values: [$$[$0-2], $$[$0]] };
 229            setLines(this.$, _$[$0-2], _$[$0]);
 230        
 231break;
 232case 35:
 233
 234            this.$ = { type: "OP", op: "-=", values: [$$[$0-2], $$[$0]] };
 235            setLines(this.$, _$[$0-2], _$[$0]);
 236        
 237break;
 238case 36:
 239
 240            this.$ = { type: "OP", op: "*=", values: [$$[$0-2], $$[$0]] };
 241            setLines(this.$, _$[$0-2], _$[$0]);
 242        
 243break;
 244case 37:
 245
 246            this.$ = { type: "OP", op: "/=", values: [$$[$0-2], $$[$0]] };
 247            setLines(this.$, _$[$0-2], _$[$0]);
 248        
 249break;
 250case 38:
 251
 252            this.$ = { type: "OP", op: "%=", values: [$$[$0-2], $$[$0]] };
 253            setLines(this.$, _$[$0-2], _$[$0]);
 254        
 255break;
 256case 39:
 257
 258            this.$ = { type: "OP", op: "<<=", values: [$$[$0-2], $$[$0]] };
 259            setLines(this.$, _$[$0-2], _$[$0]);
 260        
 261break;
 262case 40:
 263
 264            this.$ = { type: "OP", op: ">>=", values: [$$[$0-2], $$[$0]] };
 265            setLines(this.$, _$[$0-2], _$[$0]);
 266        
 267break;
 268case 41:
 269
 270            this.$ = { type: "OP", op: "&=", values: [$$[$0-2], $$[$0]] };
 271            setLines(this.$, _$[$0-2], _$[$0]);
 272        
 273break;
 274case 42:
 275
 276            this.$ = { type: "OP", op: "|=", values: [$$[$0-2], $$[$0]] };
 277            setLines(this.$, _$[$0-2], _$[$0]);
 278        
 279break;
 280case 43:
 281
 282            this.$ = { type: "OP", op: "^=", values: [$$[$0-2], $$[$0]] };
 283            setLines(this.$, _$[$0-2], _$[$0]);
 284        
 285break;
 286case 44:
 287
 288            this.$ = { type: "OP", op: "<==", values: [$$[$0-2], $$[$0]] };
 289            setLines(this.$, _$[$0-2], _$[$0]);
 290        
 291break;
 292case 45:
 293
 294            this.$ = { type: "OP", op: "<==", values: [$$[$0], $$[$0-2]] };
 295            setLines(this.$, _$[$0-2], _$[$0]);
 296        
 297break;
 298case 46:
 299
 300            this.$ = { type: "OP", op: "<--", values: [$$[$0-2], $$[$0]] };
 301            setLines(this.$, _$[$0-2], _$[$0]);
 302        
 303break;
 304case 47:
 305
 306            this.$ = { type: "OP", op: "<--", values: [$$[$0], $$[$0-2]] };
 307            setLines(this.$, _$[$0-2], _$[$0]);
 308        
 309break;
 310case 48:
 311
 312            this.$ = { type: "OP", op: "===", values: [$$[$0-2], $$[$0]] };
 313            setLines(this.$, _$[$0-2], _$[$0]);
 314        
 315break;
 316case 49:
 317
 318            if ($$[$0-4].type == "NUMBER") {
 319                this.$ = !$$[$0-4].value.eq(0) ? $$[$0-2] : $$[$0];
 320            } else {
 321                this.$ = { type: "OP", op: "?", values: [$$[$0-4], $$[$0-2], $$[$0]] };
 322            }
 323            setLines(this.$, _$[$0-4], _$[$0]);
 324        
 325break;
 326case 50: case 51: case 52: case 54: case 56: case 58:
 327
 328        this.$ = $$[$0];
 329       
 330break;
 331case 53:
 332
 333            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 334                this.$ = { type: "NUMBER", value: !$$[$0-2].value.eq(0) || !$$[$0].value.eq(0) ? bigInt(1) : bigInt(0) };
 335            } else {
 336                this.$ = { type: "OP", op: "||", values: [$$[$0-2], $$[$0]] };
 337            }
 338            setLines(this.$, _$[$0-2], _$[$0]);
 339        
 340break;
 341case 55:
 342
 343            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 344                this.$ = { type: "NUMBER", value: !$$[$0-2].value.eq(0) && !$$[$0].value.eq(0) ? bigInt(1) : bigInt(0) };
 345            } else {
 346                this.$ = { type: "OP", op: "&&", values: [$$[$0-2], $$[$0]] };
 347            }
 348            setLines(this.$, _$[$0-2], _$[$0]);
 349        
 350break;
 351case 57:
 352
 353            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 354                this.$ = { type: "NUMBER", value: $$[$0-2].value.or($$[$0].value).and(__MASK__) };
 355            } else {
 356                this.$ = { type: "OP", op: "|", values: [$$[$0-2], $$[$0]] };
 357            }
 358            setLines(this.$, _$[$0-2], _$[$0]);
 359        
 360break;
 361case 59:
 362
 363            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 364                this.$ = { type: "NUMBER", value: $$[$0-2].value.or($$[$0].value).and(__MASK__) };
 365            } else {
 366                this.$ = { type: "OP", op: "^", values: [$$[$0-2], $$[$0]] };
 367            }
 368            setLines(this.$, _$[$0-2], _$[$0]);
 369        
 370break;
 371case 61:
 372
 373            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 374                this.$ = { type: "NUMBER", value: $$[$0-2].value.and($$[$0].value).and(__MASK__) };
 375            } else {
 376                this.$ = { type: "OP", op: "&", values: [$$[$0-2], $$[$0]] };
 377            }
 378            setLines(this.$, _$[$0-2], _$[$0]);
 379        
 380break;
 381case 63:
 382
 383            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 384                this.$ = { type: "NUMBER", value: $$[$0-2].value.equals($$[$0].value) ? bigInt(1) : bigInt(0) };
 385            } else {
 386                this.$ = { type: "OP", op: "==", values: [$$[$0-2], $$[$0]] };
 387            }
 388            setLines(this.$, _$[$0-2], _$[$0]);
 389        
 390break;
 391case 64:
 392
 393            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 394                this.$ = { type: "NUMBER", value: $$[$0-2].value.eq($$[$0].value) ? bigInt(0) : bigInt(1) };
 395            } else {
 396                this.$ = { type: "OP", op: "!=", values: [$$[$0-2], $$[$0]] };
 397            }
 398            setLines(this.$, _$[$0-2], _$[$0]);
 399        
 400break;
 401case 65: case 70:
 402
 403        this.$ = $$[$0]
 404       
 405break;
 406case 66:
 407
 408            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 409                this.$ = { type: "NUMBER", value: $$[$0-2].value.lesserOrEquals($$[$0].value) ? bigInt(1) : bigInt(0) };
 410            } else {
 411                this.$ = { type: "OP", op: "<=", values: [$$[$0-2], $$[$0]] };
 412            }
 413            setLines(this.$, _$[$0-2], _$[$0]);
 414        
 415break;
 416case 67:
 417
 418            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 419                this.$ = { type: "NUMBER", value: $$[$0-2].value.greaterOrEquals($$[$0].value) ? bigInt(1) : bigInt(0) };
 420            } else {
 421                this.$ = { type: "OP", op: ">=", values: [$$[$0-2], $$[$0]] };
 422            }
 423            setLines(this.$, _$[$0-2], _$[$0]);
 424        
 425break;
 426case 68:
 427
 428            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 429                this.$ = { type: "NUMBER", value: $$[$0-2].value.lesser($$[$0].value) ? bigInt(1) : bigInt(0) };
 430            } else {
 431                this.$ = { type: "OP", op: "<", values: [$$[$0-2], $$[$0]] };
 432            }
 433            setLines(this.$, _$[$0-2], _$[$0]);
 434        
 435break;
 436case 69:
 437
 438            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 439                this.$ = { type: "NUMBER", value: $$[$0-2].value.greater($$[$0].value) ? bigInt(1) : bigInt(0) };
 440            } else {
 441                this.$ = { type: "OP", op: ">", values: [$$[$0-2], $$[$0]] };
 442            }
 443            setLines(this.$, _$[$0-2], _$[$0]);
 444        
 445break;
 446case 71:
 447
 448            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 449                let v = $$[$0].value.greater(256) ? 256 : $$[$0].value.value;
 450                this.$ = { type: "NUMBER", value: $$[$0-2].value.shiftLeft(v).and(__MASK__) };
 451            } else {
 452                this.$ = { type: "OP", op: "<<", values: [$$[$0-2], $$[$0]] };
 453            }
 454            setLines(this.$, _$[$0-2], _$[$0]);
 455        
 456break;
 457case 72:
 458
 459            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 460                let v = $$[$0].value.greater(256) ? 256 : $$[$0].value.value;
 461                this.$ = {t1ype: "NUMBER", value: $$[$0-2].value.shiftRight(v).and(__MASK__) };
 462            } else {
 463                this.$ = { type: "OP", op: ">>", values: [$$[$0-2], $$[$0]] };
 464            }
 465            setLines(this.$, _$[$0-2], _$[$0]);
 466        
 467break;
 468case 73:
 469
 470            this.$ = $$[$0];
 471       
 472break;
 473case 74:
 474
 475            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 476                this.$ = { type: "NUMBER", value: ($$[$0-2].value.plus($$[$0].value)).mod(__P__) };
 477            } else {
 478                this.$ = { type: "OP", op: "+", values: [$$[$0-2], $$[$0]] };
 479            }
 480            setLines(this.$, _$[$0-2], _$[$0]);
 481        
 482break;
 483case 75:
 484
 485            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 486                this.$ = { type: "NUMBER", value: ($$[$0-2].value.plus(__P__).minus($$[$0].value)).mod(__P__) };
 487            } else {
 488                this.$ = { type: "OP", op: "-", values: [$$[$0-2], $$[$0]] };
 489            }
 490            setLines(this.$, _$[$0-2], _$[$0]);
 491        
 492break;
 493case 77:
 494
 495            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 496                this.$ = { type: "NUMBER", value: ($$[$0-2].value.times($$[$0].value)).mod(__P__) };
 497            } else {
 498                this.$ = { type: "OP", op: "*", values: [$$[$0-2], $$[$0]] };
 499            }
 500            setLines(this.$, _$[$0-2], _$[$0]);
 501        
 502break;
 503case 78:
 504
 505            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 506                this.$ = { type: "NUMBER", value: ($$[$0-2].value.times($$[$0].value.modInv(__P__))).mod(__P__) };
 507            } else {
 508                this.$ = { type: "OP", op: "/", values: [$$[$0-2], $$[$0]] };
 509            }
 510            setLines(this.$, _$[$0-2], _$[$0]);
 511        
 512break;
 513case 79:
 514
 515            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 516                this.$ = { type: "NUMBER", value: $$[$0-2].value.mod($$[$0].value) };
 517            } else {
 518                this.$ = { type: "OP", op: "%", values: [$$[$0-2], $$[$0]] };
 519            }
 520            setLines(this.$, _$[$0-2], _$[$0]);
 521        
 522break;
 523case 81:
 524
 525            if (($$[$0-2].type == "NUMBER") && ($$[$0].type == "NUMBER")) {
 526                this.$ = { type: "NUMBER", value: $$[$0-2].value.modPow($$[$0].value, __P__) };
 527            } else {
 528                this.$ = { type: "OP", op: "**", values: [$$[$0-2], $$[$0]] };
 529            }
 530            setLines(this.$, _$[$0-2], _$[$0]);
 531        
 532break;
 533case 83:
 534
 535            this.$ = { type: "OP", op: "PLUSPLUSLEFT", values: [$$[$0]] };
 536            setLines(this.$, _$[$0-1], _$[$0]);
 537        
 538break;
 539case 84:
 540
 541            this.$ = { type: "OP", op: "MINUSMINUSLEFT", values: [$$[$0]] };
 542            setLines(this.$, _$[$0-1], _$[$0]);
 543        
 544break;
 545case 85:
 546
 547            this.$ = $$[$0];
 548            setLines(this.$, _$[$0-1], _$[$0]);
 549        
 550break;
 551case 86:
 552
 553            if ($$[$0].type == "NUMBER") {
 554                this.$ = { type: "NUMBER", value: __P__.minus($$[$0].value).mod(__P__) };
 555            } else {
 556                this.$ = { type: "OP", op: "UMINUS", values: [$$[$0]] };
 557            }
 558            setLines(this.$, _$[$0-1], _$[$0]);
 559        
 560break;
 561case 87:
 562
 563            if ($$[$0].type == "NUMBER") {
 564                this.$ = { type: "NUMBER", value: $$[$0].value.eq(0) ? bigInt(1) : bigInt(0) };
 565            } else {
 566                this.$ = { type: "OP", op: "!", values: [$$[$0]] };
 567            }
 568            setLines(this.$, _$[$0-1], _$[$0]);
 569        
 570break;
 571case 88:
 572
 573            if ($$[$0].type == "NUMBER") {
 574                this.$ = { type: "NUMBER", value: $$[$0].value.xor(__MASK__) };
 575            } else {
 576                this.$ = { type: "OP", op: "~", values: [$$[$0]] };
 577            }
 578            setLines(this.$, _$[$0-1], _$[$0]);
 579        
 580break;
 581case 90:
 582
 583            this.$ = {type: "OP", op: "PLUSPLUSRIGHT", values: [$$[$0-1]] };
 584            setLines(this.$, _$[$0-1], _$[$0]);
 585        
 586break;
 587case 91:
 588
 589            this.$ = {type: "OP", op: "MINUSMINUSRIGHT", values: [$$[$0-1]] };
 590            setLines(this.$, _$[$0-1], _$[$0]);
 591        
 592break;
 593case 94: case 99: case 100:
 594
 595            this.$ = $$[$0]
 596        
 597break;
 598case 95:
 599
 600            this.$ = {type: "NUMBER", value: bigInt($$[$0]).mod(__P__) }
 601            setLines(this.$, _$[$0]);
 602        
 603break;
 604case 96:
 605
 606            this.$ = {type: "NUMBER", value: bigInt($$[$0].substr(2).toUpperCase(), 16).mod(__P__) }
 607            setLines(this.$, _$[$0]);
 608        
 609break;
 610case 97:
 611
 612            this.$ = $$[$0-1];
 613            setLines(this.$, _$[$0-2], _$[$0]);
 614        
 615break;
 616case 98:
 617
 618            this.$ = {type: "PIN", component: $$[$0-2], pin: $$[$0] };
 619            setLines(this.$, _$[$0-2], _$[$0]);
 620        
 621break;
 622case 101:
 623
 624            this.$ = {type: "DECLARE", declareType: "VARIABLE", name: $$[$0]}
 625            setLines(this.$, _$[$0-1], _$[$0]);
 626        
 627break;
 628case 102:
 629
 630            this.$ = {type: "DECLARE", declareType: "SIGNAL", name: $$[$0]}
 631            setLines(this.$, _$[$0-1], _$[$0]);
 632        
 633break;
 634case 103:
 635
 636            this.$ = {type: "DECLARE", declareType: "SIGNALIN", name: $$[$0]};
 637            setLines(this.$, _$[$0-2], _$[$0]);
 638        
 639break;
 640case 104:
 641
 642            this.$ = {type: "DECLARE", declareType: "SIGNALOUT", name: $$[$0]};
 643            setLines(this.$, _$[$0-2], _$[$0]);
 644        
 645break;
 646case 105:
 647
 648            this.$ = {type: "DECLARE", declareType: "COMPONENT", name: $$[$0]}
 649            setLines(this.$, _$[$0-1], _$[$0]);
 650        
 651break;
 652case 106:
 653
 654            for (let i=0; i< $$[$0].values.length; i++) {
 655                $$[$0-1].selectors.push($$[$0].values[i]);
 656            }
 657            setLines($$[$0-1], _$[$0-1], _$[$0]);
 658        
 659break;
 660case 107:
 661
 662            this.$ = {type: "VARIABLE", name: $$[$0] , selectors: []};
 663            setLines(this.$, _$[$0]);
 664        
 665break;
 666case 108:
 667
 668            this.$ = {type: "FUNCTIONCALL", name: $$[$0-3], params: $$[$0-1].expressions}
 669            setLines(this.$, _$[$0-3], _$[$0]);
 670        
 671break;
 672case 109:
 673
 674            this.$ = {type: "FUNCTIONCALL", name: $$[$0-2], params: []}
 675            setLines(this.$, _$[$0-2], _$[$0]);
 676        
 677break;
 678case 110:
 679
 680            $$[$0-2].expressions.push($$[$0]);
 681            setLines(this.$, _$[$0-2], _$[$0]);
 682        
 683break;
 684case 111:
 685
 686            this.$ = {type: "EXPRESSIONLST", expressions: [$$[$0]]};
 687            setLines(this.$, _$[$0]);
 688        
 689break;
 690case 113:
 691
 692                this.$ = { type: "ARRAY", values: $$[$0-1].expressions};
 693                setLines(this.$, _$[$0-2], _$[$0]);
 694           
 695break;
 696}
 697},
 698table: [{3:1,4:2,6:3,7:4,8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:$V0,18:$V1,19:$V2,22:$V3,24:$V4,25:22,27:$V5,29:$V6,30:$V7,31:$V8,32:$V9,34:$Va,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{1:[3]},{5:[1,60],6:61,7:4,8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:$V0,18:$V1,19:$V2,22:$V3,24:$V4,25:22,27:$V5,29:$V6,30:$V7,31:$V8,32:$V9,34:$Va,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},o($Vn,[2,3]),o($Vo,[2,4]),o($Vo,[2,5]),o($Vo,[2,6]),o($Vo,[2,7]),o($Vo,[2,8]),o($Vo,[2,9]),o($Vo,[2,10]),o($Vo,[2,11]),o($Vo,[2,12]),o($Vo,[2,13]),{18:[1,62]},{18:[1,63]},{19:[1,64]},{19:[1,65]},{19:[1,66]},{6:67,7:4,8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:$V0,18:$V1,19:$V2,22:$V3,24:$V4,25:22,27:$V5,29:$V6,30:$V7,31:$V8,32:$V9,34:$Va,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,25:68,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{4:69,6:3,7:4,8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:$V0,18:$V1,19:$V2,22:$V3,24:$V4,25:22,27:$V5,29:$V6,30:$V7,31:$V8,32:$V9,34:$Va,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},o($Vo,[2,31],{28:[1,70]}),{33:[1,71]},o([5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,80,82,89,90,91,92,96,97,101,102,105,108,109],[2,32],{50:$Vp,52:$Vq,55:$Vr}),o($Vs,$Vt,{38:[1,75],39:[1,76],40:[1,77],41:[1,78],42:[1,79],43:[1,80],44:[1,81],45:[1,82],46:[1,83],47:[1,84],48:[1,85],49:[1,86],51:[1,87],89:$Vu,90:$Vv}),o($Vw,[2,50],{54:[1,90]}),o($Vx,[2,100],{106:92,99:[1,91],108:$Vm}),o([5,17,18,19,21,22,23,24,26,27,28,29,30,31,32,34,35,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,54,55,56,59,61,63,65,67,69,71,72,74,75,76,77,79,80,82,83,85,86,87,89,90,91,92,96,97,101,102,105,108,109],[2,99]),o($Vy,[2,51]),o($Vy,[2,52],{59:[1,93]}),o([5,17,18,21,22,23,24,26,27,28,29,30,31,32,34,35,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,54,55,56,59,61,63,65,67,69,71,72,74,75,76,77,79,80,82,83,85,86,87,89,90,91,92,96,97,99,101,102,105,108,109],$Vz,{19:[1,94]}),{18:$VA,98:95},{18:$VA,98:97,103:[1,98],104:[1,99]},{18:$VA,98:100},o($Vy,[2,112]),o($VB,[2,54],{61:$VC}),{18:$V1,19:$V2,25:103,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,107:102,108:$Vm},o($VD,[2,56],{63:$VE}),o($VF,[2,58],{65:$VG}),o($VH,[2,60],{67:$VI}),o($VJ,[2,62],{69:$VK,71:$VL}),o($VM,[2,65],{72:$VN,74:$VO,75:$VP,76:$VQ}),o($VR,[2,70],{77:$VS,79:$VT}),o($VU,[2,73],{80:$VV,82:$VW}),o($VX,[2,76],{83:$VY,85:$VZ,86:$V_}),o($V$,[2,80],{87:$V01}),o($V11,[2,82]),{18:$VA,37:121,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$VA,37:122,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,80:$Vb,82:$Vc,88:123,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,80:$Vb,82:$Vc,88:125,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,80:$Vb,82:$Vc,88:126,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,80:$Vb,82:$Vc,88:127,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},o($V11,[2,89]),o($V11,[2,92]),o($V11,[2,93]),o($V11,[2,95]),o($V11,[2,96]),{18:$V1,19:$V2,25:128,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{1:[2,1]},o($Vn,[2,2]),{19:[1,129]},{19:[1,130]},{18:$V1,19:$V2,25:131,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,25:132,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,25:133,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{29:[1,134]},o($Vo,[2,26],{28:[1,135]}),{6:61,7:4,8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:$V0,18:$V1,19:$V2,22:$V3,24:$V4,25:22,27:$V5,29:$V6,30:$V7,31:$V8,32:$V9,34:$Va,35:[1,136],36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},o($Vo,[2,30]),o($Vo,[2,28],{28:[1,137]}),{18:$VA,37:138,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$VA,37:139,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,36:140,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:141,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:142,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:143,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:144,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:145,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:146,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:147,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:148,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:149,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:150,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:151,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:152,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:153,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},o($V11,[2,90]),o($V11,[2,91]),{18:$V1,19:$V2,36:154,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$VA,98:155},o($V21,[2,106]),{18:$V1,19:$V2,37:124,60:156,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,21:[1,158],25:103,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,107:157,108:$Vm},o($Vx,[2,101],{106:92,108:$Vm}),o($V21,$Vz),o($Vx,[2,102],{106:92,108:$Vm}),{18:$VA,98:159},{18:$VA,98:160},o($Vx,[2,105],{106:92,108:$Vm}),{18:$V1,19:$V2,37:124,62:161,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{23:$V31,109:[1,162]},o($V41,[2,111]),{18:$V1,19:$V2,37:124,64:164,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,66:165,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,68:166,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,70:167,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,70:168,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,73:169,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,73:170,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,73:171,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,73:172,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,78:173,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,78:174,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,80:$Vb,81:175,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,80:$Vb,81:176,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,80:$Vb,82:$Vc,84:177,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,80:$Vb,82:$Vc,84:178,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,80:$Vb,82:$Vc,84:179,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},{18:$V1,19:$V2,37:124,80:$Vb,82:$Vc,88:180,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl},o($V11,[2,83]),o($V11,[2,84]),o($V11,[2,85]),o($Vs,$Vt,{89:$Vu,90:$Vv}),o($V11,[2,86]),o($V11,[2,87]),o($V11,[2,88]),{21:[1,181]},{18:$V51,20:182,21:[1,183]},{18:$V51,20:185,21:[1,186]},{21:[1,187]},{28:[1,188]},{21:[1,189]},{19:[1,190]},o($Vo,[2,25]),o($Vo,[2,29]),o($Vo,[2,27]),o($Vw,[2,45]),o($Vw,[2,47]),{50:$Vp,52:$Vq,55:$Vr,56:[1,191]},o($V61,[2,33],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,34],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,35],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,36],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,37],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,38],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,39],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,40],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,41],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,42],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,43],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,44],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,46],{50:$Vp,52:$Vq,55:$Vr}),o($V61,[2,48],{50:$Vp,52:$Vq,55:$Vr}),o($Vx,[2,98],{106:92,108:$Vm}),o($VB,[2,53],{61:$VC}),{21:[1,192],23:$V31},o($V11,[2,109]),o($Vx,[2,103],{106:92,108:$Vm}),o($Vx,[2,104],{106:92,108:$Vm}),o($VD,[2,55],{63:$VE}),o($V21,[2,113]),{18:$V1,19:$V2,25:193,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},o($VF,[2,57],{65:$VG}),o($VH,[2,59],{67:$VI}),o($VJ,[2,61],{69:$VK,71:$VL}),o($VM,[2,63],{72:$VN,74:$VO,75:$VP,76:$VQ}),o($VM,[2,64],{72:$VN,74:$VO,75:$VP,76:$VQ}),o($VR,[2,66],{77:$VS,79:$VT}),o($VR,[2,67],{77:$VS,79:$VT}),o($VR,[2,68],{77:$VS,79:$VT}),o($VR,[2,69],{77:$VS,79:$VT}),o($VU,[2,71],{80:$VV,82:$VW}),o($VU,[2,72],{80:$VV,82:$VW}),o($VX,[2,74],{83:$VY,85:$VZ,86:$V_}),o($VX,[2,75],{83:$VY,85:$VZ,86:$V_}),o($V$,[2,77],{87:$V01}),o($V$,[2,78],{87:$V01}),o($V$,[2,79],{87:$V01}),o($V11,[2,81]),o($V11,[2,97]),{21:[1,194],23:$V71},{14:196,34:$Va},o($V81,[2,19]),{21:[1,197],23:$V71},{14:198,34:$Va},{6:199,7:4,8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:$V0,18:$V1,19:$V2,22:$V3,24:$V4,25:22,27:$V5,29:$V6,30:$V7,31:$V8,32:$V9,34:$Va,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,25:200,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{6:201,7:4,8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:$V0,18:$V1,19:$V2,22:$V3,24:$V4,25:22,27:$V5,29:$V6,30:$V7,31:$V8,32:$V9,34:$Va,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,25:202,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,36:203,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},o($V11,[2,108]),o($V41,[2,110]),{14:204,34:$Va},{18:[1,205]},o($Vo,[2,15]),{14:206,34:$Va},o($Vo,[2,17]),o($Vn,[2,21],{26:[1,207]}),{28:[1,208]},o($Vo,[2,23]),{21:[1,209]},o($V61,[2,49],{50:$Vp,52:$Vq,55:$Vr}),o($Vo,[2,14]),o($V81,[2,18]),o($Vo,[2,16]),{6:210,7:4,8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:$V0,18:$V1,19:$V2,22:$V3,24:$V4,25:22,27:$V5,29:$V6,30:$V7,31:$V8,32:$V9,34:$Va,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},{18:$V1,19:$V2,25:211,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},o($Vo,[2,24]),o($Vo,[2,20]),{21:[1,212]},{6:213,7:4,8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:$V0,18:$V1,19:$V2,22:$V3,24:$V4,25:22,27:$V5,29:$V6,30:$V7,31:$V8,32:$V9,34:$Va,36:24,37:25,53:26,57:29,58:30,60:36,62:38,64:39,66:40,68:41,70:42,73:43,78:44,80:$Vb,81:45,82:$Vc,84:46,88:47,89:$Vd,90:$Ve,91:$Vf,92:$Vg,93:54,94:55,95:56,96:$Vh,97:$Vi,98:27,100:28,101:$Vj,102:$Vk,105:$Vl,106:35,108:$Vm},o($Vo,[2,22])],
 699defaultActions: {60:[2,1]},
 700parseError: function parseError(str, hash) {
 701    if (hash.recoverable) {
 702        this.trace(str);
 703    } else {
 704        var error = new Error(str);
 705        error.hash = hash;
 706        throw error;
 707    }
 708},
 709parse: function parse(input) {
 710    var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
 711    var args = lstack.slice.call(arguments, 1);
 712    var lexer = Object.create(this.lexer);
 713    var sharedState = { yy: {} };
 714    for (var k in this.yy) {
 715        if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
 716            sharedState.yy[k] = this.yy[k];
 717        }
 718    }
 719    lexer.setInput(input, sharedState.yy);
 720    sharedState.yy.lexer = lexer;
 721    sharedState.yy.parser = this;
 722    if (typeof lexer.yylloc == 'undefined') {
 723        lexer.yylloc = {};
 724    }
 725    var yyloc = lexer.yylloc;
 726    lstack.push(yyloc);
 727    var ranges = lexer.options && lexer.options.ranges;
 728    if (typeof sharedState.yy.parseError === 'function') {
 729        this.parseError = sharedState.yy.parseError;
 730    } else {
 731        this.parseError = Object.getPrototypeOf(this).parseError;
 732    }
 733    function popStack(n) {
 734        stack.length = stack.length - 2 * n;
 735        vstack.length = vstack.length - n;
 736        lstack.length = lstack.length - n;
 737    }
 738    _token_stack:
 739        var lex = function () {
 740            var token;
 741            token = lexer.lex() || EOF;
 742            if (typeof token !== 'number') {
 743                token = self.symbols_[token] || token;
 744            }
 745            return token;
 746        };
 747    var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
 748    while (true) {
 749        state = stack[stack.length - 1];
 750        if (this.defaultActions[state]) {
 751            action = this.defaultActions[state];
 752        } else {
 753            if (symbol === null || typeof symbol == 'undefined') {
 754                symbol = lex();
 755            }
 756            action = table[state] && table[state][symbol];
 757        }
 758                    if (typeof action === 'undefined' || !action.length || !action[0]) {
 759                var errStr = '';
 760                expected = [];
 761                for (p in table[state]) {
 762                    if (this.terminals_[p] && p > TERROR) {
 763                        expected.push('\'' + this.terminals_[p] + '\'');
 764                    }
 765                }
 766                if (lexer.showPosition) {
 767                    errStr = 'Parse error on line ' + (yylineno + 1) + ':\n' + lexer.showPosition() + '\nExpecting ' + expected.join(', ') + ', got \'' + (this.terminals_[symbol] || symbol) + '\'';
 768                } else {
 769                    errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\'' + (this.terminals_[symbol] || symbol) + '\'');
 770                }
 771                this.parseError(errStr, {
 772                    text: lexer.match,
 773                    token: this.terminals_[symbol] || symbol,
 774                    line: lexer.yylineno,
 775                    loc: yyloc,
 776                    expected: expected
 777                });
 778            }
 779        if (action[0] instanceof Array && action.length > 1) {
 780            throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);
 781        }
 782        switch (action[0]) {
 783        case 1:
 784            stack.push(symbol);
 785            vstack.push(lexer.yytext);
 786            lstack.push(lexer.yylloc);
 787            stack.push(action[1]);
 788            symbol = null;
 789            if (!preErrorSymbol) {
 790                yyleng = lexer.yyleng;
 791                yytext = lexer.yytext;
 792                yylineno = lexer.yylineno;
 793                yyloc = lexer.yylloc;
 794                if (recovering > 0) {
 795                    recovering--;
 796                }
 797            } else {
 798                symbol = preErrorSymbol;
 799                preErrorSymbol = null;
 800            }
 801            break;
 802        case 2:
 803            len = this.productions_[action[1]][1];
 804            yyval.$ = vstack[vstack.length - len];
 805            yyval._$ = {
 806                first_line: lstack[lstack.length - (len || 1)].first_line,
 807                last_line: lstack[lstack.length - 1].last_line,
 808                first_column: lstack[lstack.length - (len || 1)].first_column,
 809                last_column: lstack[lstack.length - 1].last_column
 810            };
 811            if (ranges) {
 812                yyval._$.range = [
 813                    lstack[lstack.length - (len || 1)].range[0],
 814                    lstack[lstack.length - 1].range[1]
 815                ];
 816            }
 817            r = this.performAction.apply(yyval, [
 818                yytext,
 819                yyleng,
 820                yylineno,
 821                sharedState.yy,
 822                action[1],
 823                vstack,
 824                lstack
 825            ].concat(args));
 826            if (typeof r !== 'undefined') {
 827                return r;
 828            }
 829            if (len) {
 830                stack = stack.slice(0, -1 * len * 2);
 831                vstack = vstack.slice(0, -1 * len);
 832                lstack = lstack.slice(0, -1 * len);
 833            }
 834            stack.push(this.productions_[action[1]][0]);
 835            vstack.push(yyval.$);
 836            lstack.push(yyval._$);
 837            newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
 838            stack.push(newState);
 839            break;
 840        case 3:
 841            return true;
 842        }
 843    }
 844    return true;
 845}};
 846
 847const bigInt = require('big-integer');
 848const util = require('util');
 849const __P__ = new bigInt("21888242871839275222246405745257275088696311157297823662689037894645226208583");
 850const __MASK__ = new bigInt(2).pow(253).minus(1);
 851
 852function setLines(dst, first, last) {
 853    last = last || first;
 854    dst.first_line = first.first_line;
 855    dst.first_column = first.first_column;
 856    dst.last_line = last.last_line;
 857    dst.last_column = last.last_column;
 858}
 859
 860/* generated by jison-lex 0.3.4 */
 861var lexer = (function(){
 862var lexer = ({
 863
 864EOF:1,
 865
 866parseError:function parseError(str, hash) {
 867        if (this.yy.parser) {
 868            this.yy.parser.parseError(str, hash);
 869        } else {
 870            throw new Error(str);
 871        }
 872    },
 873
 874// resets the lexer, sets new input
 875setInput:function (input, yy) {
 876        this.yy = yy || this.yy || {};
 877        this._input = input;
 878        this._more = this._backtrack = this.done = false;
 879        this.yylineno = this.yyleng = 0;
 880        this.yytext = this.matched = this.match = '';
 881        this.conditionStack = ['INITIAL'];
 882        this.yylloc = {
 883            first_line: 1,
 884            first_column: 0,
 885            last_line: 1,
 886            last_column: 0
 887        };
 888        if (this.options.ranges) {
 889            this.yylloc.range = [0,0];
 890        }
 891        this.offset = 0;
 892        return this;
 893    },
 894
 895// consumes and returns one char from the input
 896input:function () {
 897        var ch = this._input[0];
 898        this.yytext += ch;
 899        this.yyleng++;
 900        this.offset++;
 901        this.match += ch;
 902        this.matched += ch;
 903        var lines = ch.match(/(?:\r\n?|\n).*/g);
 904        if (lines) {
 905            this.yylineno++;
 906            this.yylloc.last_line++;
 907        } else {
 908            this.yylloc.last_column++;
 909        }
 910        if (this.options.ranges) {
 911            this.yylloc.range[1]++;
 912        }
 913
 914        this._input = this._input.slice(1);
 915        return ch;
 916    },
 917
 918// unshifts one char (or a string) into the input
 919unput:function (ch) {
 920        var len = ch.length;
 921        var lines = ch.split(/(?:\r\n?|\n)/g);
 922
 923        this._input = ch + this._input;
 924        this.yytext = this.yytext.substr(0, this.yytext.length - len);
 925        //this.yyleng -= len;
 926        this.offset -= len;
 927        var oldLines = this.match.split(/(?:\r\n?|\n)/g);
 928        this.match = this.match.substr(0, this.match.length - 1);
 929        this.matched = this.matched.substr(0, this.matched.length - 1);
 930
 931        if (lines.length - 1) {
 932            this.yylineno -= lines.length - 1;
 933        }
 934        var r = this.yylloc.range;
 935
 936        this.yylloc = {
 937            first_line: this.yylloc.first_line,
 938            last_line: this.yylineno + 1,
 939            first_column: this.yylloc.first_column,
 940            last_column: lines ?
 941                (lines.length === oldLines.length ? this.yylloc.first_column : 0)
 942                 + oldLines[oldLines.length - lines.length].length - lines[0].length :
 943              this.yylloc.first_column - len
 944        };
 945
 946        if (this.options.ranges) {
 947            this.yylloc.range = [r[0], r[0] + this.yyleng - len];
 948        }
 949        this.yyleng = this.yytext.length;
 950        return this;
 951    },
 952
 953// When called from action, caches matched text and appends it on next action
 954more:function () {
 955        this._more = true;
 956        return this;
 957    },
 958
 959// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
 960reject:function () {
 961        if (this.options.backtrack_lexer) {
 962            this._backtrack = true;
 963        } else {
 964            return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n' + this.showPosition(), {
 965                text: "",
 966                token: null,
 967                line: this.yylineno
 968            });
 969
 970        }
 971        return this;
 972    },
 973
 974// retain first n characters of the match
 975less:function (n) {
 976        this.unput(this.match.slice(n));
 977    },
 978
 979// displays already matched input, i.e. for error messages
 980pastInput:function () {
 981        var past = this.matched.substr(0, this.matched.length - this.match.length);
 982        return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, "");
 983    },
 984
 985// displays upcoming input, i.e. for error messages
 986upcomingInput:function () {
 987        var next = this.match;
 988        if (next.length < 20) {
 989            next += this._input.substr(0, 20-next.length);
 990        }
 991        return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\n/g, "");
 992    },
 993
 994// displays the character position where the lexing error occurred, i.e. for error messages
 995showPosition:function () {
 996        var pre = this.pastInput();
 997        var c = new Array(pre.length + 1).join("-");
 998        return pre + this.upcomingInput() + "\n" + c + "^";
 999    },
1000
1001// test the lexed token: return FALSE when not a match, otherwise return token
1002test_match:function (match, indexed_rule) {
1003        var token,
1004            lines,
1005            backup;
1006
1007        if (this.options.backtrack_lexer) {
1008            // save context
1009            backup = {
1010                yylineno: this.yylineno,
1011                yylloc: {
1012                    first_line: this.yylloc.first_line,
1013                    last_line: this.last_line,
1014                    first_column: this.yylloc.first_column,
1015                    last_column: this.yylloc.last_column
1016                },
1017                yytext: this.yytext,
1018                match: this.match,
1019                matches: this.matches,
1020                matched: this.matched,
1021                yyleng: this.yyleng,
1022                offset: this.offset,
1023                _more: this._more,
1024                _input: this._input,
1025                yy: this.yy,
1026                conditionStack: this.conditionStack.slice(0),
1027                done: this.done
1028            };
1029            if (this.options.ranges) {
1030                backup.yylloc.range = this.yylloc.range.slice(0);
1031            }
1032        }
1033
1034        lines = match[0].match(/(?:\r\n?|\n).*/g);
1035        if (lines) {
1036            this.yylineno += lines.length;
1037        }
1038        this.yylloc = {
1039            first_line: this.yylloc.last_line,
1040            last_line: this.yylineno + 1,
1041            first_column: this.yylloc.last_column,
1042            last_column: lines ?
1043                         lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length :
1044                         this.yylloc.last_column + match[0].length
1045        };
1046        this.yytext += match[0];
1047        this.match += match[0];
1048        this.matches = match;
1049        this.yyleng = this.yytext.length;
1050        if (this.options.ranges) {
1051            this.yylloc.range = [this.offset, this.offset += this.yyleng];
1052        }
1053        this._more = false;
1054        this._backtrack = false;
1055        this._input = this._input.slice(match[0].length);
1056        this.matched += match[0];
1057        token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
1058        if (this.done && this._input) {
1059            this.done = false;
1060        }
1061        if (token) {
1062            return token;
1063        } else if (this._backtrack) {
1064            // recover context
1065            for (var k in backup) {
1066                this[k] = backup[k];
1067            }
1068            return false; // rule action called reject() implying the next rule should be tested instead.
1069        }
1070        return false;
1071    },
1072
1073// return next match in input
1074next:function () {
1075        if (this.done) {
1076            return this.EOF;
1077        }
1078        if (!this._input) {
1079            this.done = true;
1080        }
1081
1082        var token,
1083            match,
1084            tempMatch,
1085            index;
1086        if (!this._more) {
1087            this.yytext = '';
1088            this.match = '';
1089        }
1090        var rules = this._currentRules();
1091        for (var i = 0; i < rules.length; i++) {
1092            tempMatch = this._input.match(this.rules[rules[i]]);
1093            if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
1094                match = tempMatch;
1095                index = i;
1096                if (this.options.backtrack_lexer) {
1097                    token = this.test_match(tempMatch, rules[i]);
1098                    if (token !== false) {
1099                        return token;
1100                    } else if (this._backtrack) {
1101                        match = false;
1102                        continue; // rule action called reject() implying a rule MISmatch.
1103                    } else {
1104                        // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
1105                        return false;
1106                    }
1107                } else if (!this.options.flex) {
1108                    break;
1109                }
1110            }
1111        }
1112        if (match) {
1113            token = this.test_match(match, rules[index]);
1114            if (token !== false) {
1115                return token;
1116            }
1117            // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
1118            return false;
1119        }
1120        if (this._input === "") {
1121            return this.EOF;
1122        } else {
1123            return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\n' + this.showPosition(), {
1124                text: "",
1125                token: null,
1126                line: this.yylineno
1127            });
1128        }
1129    },
1130
1131// return next match that has a token
1132lex:function lex() {
1133        var r = this.next();
1134        if (r) {
1135            return r;
1136        } else {
1137            return this.lex();
1138        }
1139    },
1140
1141// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
1142begin:function begin(condition) {
1143        this.conditionStack.push(condition);
1144    },
1145
1146// pop the previously active lexer condition state off the condition stack
1147popState:function popState() {
1148        var n = this.conditionStack.length - 1;
1149        if (n > 0) {
1150            return this.conditionStack.pop();
1151        } else {
1152            return this.conditionStack[0];
1153        }
1154    },
1155
1156// produce the lexer rule set which is active for the currently active lexer condition state
1157_currentRules:function _currentRules() {
1158        if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
1159            return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
1160        } else {
1161            return this.conditions["INITIAL"].rules;
1162        }
1163    },
1164
1165// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
1166topState:function topState(n) {
1167        n = this.conditionStack.length - 1 - Math.abs(n || 0);
1168        if (n >= 0) {
1169            return this.conditionStack[n];
1170        } else {
1171            return "INITIAL";
1172        }
1173    },
1174
1175// alias for begin(condition)
1176pushState:function pushState(condition) {
1177        this.begin(condition);
1178    },
1179
1180// return the number of states currently on the stack
1181stateStackSize:function stateStackSize() {
1182        return this.conditionStack.length;
1183    },
1184options: {},
1185performAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {
1186var YYSTATE=YY_START;
1187switch($avoiding_name_collisions) {
1188case 0: /* skip whitespace */ 
1189break;
1190case 1: /* console.log("MULTILINE COMMENT: "+yy_.yytext); */  
1191break;
1192case 2: /* console.log("SINGLE LINE COMMENT: "+yy_.yytext); */ 
1193break;
1194case 3: return 101; 
1195break;
1196case 4: return 102; 
1197break;
1198case 5: return 103; 
1199break;
1200case 6: return 104; 
1201break;
1202case 7: return 'linearCombination'; 
1203break;
1204case 8: return 105; 
1205break;
1206case 9: return 22; 
1207break;
1208case 10: return 17; 
1209break;
1210case 11: return 24; 
1211break;
1212case 12: return 26; 
1213break;
1214case 13: return 27; 
1215break;
1216case 14: return 29; 
1217break;
1218case 15: return 30; 
1219break;
1220case 16: return 31; 
1221break;
1222case 17: return 32; 
1223break;
1224case 18: return 97; 
1225break;
1226case 19: return 96; 
1227break;
1228case 20: return 18; 
1229break;
1230case 21: yy_.yytext = yy_.yytext.slice(1,-1); return 33; 
1231break;
1232case 22: return 50; 
1233break;
1234case 23: return 49; 
1235break;
1236case 24: return 52; 
1237break;
1238case 25: return 51; 
1239break;
1240case 26: return 54; 
1241break;
1242case 27: return 45; 
1243break;
1244case 28: return 44; 
1245break;
1246case 29: return 61; 
1247break;
1248case 30: return 59; 
1249break;
1250case 31: return 69; 
1251break;
1252case 32: return 72; 
1253break;
1254case 33: return 74; 
1255break;
1256case 34: return 71; 
1257break;
1258case 35: return 79; 
1259break;
1260case 36: return 77; 
1261break;
1262case 37: return 87; 
1263break;
1264case 38: return 89; 
1265break;
1266case 39: return 90; 
1267break;
1268case 40: return 39; 
1269break;
1270case 41: return 40; 
1271break;
1272case 42: return 41; 
1273break;
1274case 43: return 42; 
1275break;
1276case 44: return 43; 
1277break;
1278case 45: return 47; 
1279break;
1280case 46: return 46; 
1281break;
1282case 47: return 48; 
1283break;
1284case 48: return 38; 
1285break;
1286case 49: return 80; 
1287break;
1288case 50: return 82; 
1289break;
1290case 51: return 83; 
1291break;
1292case 52: return 85; 
1293break;
1294case 53: return 86; 
1295break;
1296case 54: return 65; 
1297break;
1298case 55: return 67; 
1299break;
1300case 56: return 63; 
1301break;
1302case 57: return 91; 
1303break;
1304case 58: return 75; 
1305break;
1306case 59: return 76; 
1307break;
1308case 60: return 91; 
1309break;
1310case 61: return 55; 
1311break;
1312case 62: return 56; 
1313break;
1314case 63: return 19; 
1315break;
1316case 64: return 21; 
1317break;
1318case 65: return 108; 
1319break;
1320case 66: return 109; 
1321break;
1322case 67: return 34; 
1323break;
1324case 68: return 35; 
1325break;
1326case 69: return 28; 
1327break;
1328case 70: return 23; 
1329break;
1330case 71: return 99; 
1331break;
1332case 72: return 5; 
1333break;
1334case 73: console.log("INVALID: " + yy_.yytext); return 'INVALID'
1335break;
1336}
1337},
1338rules: [/^(?:\s+)/,/^(?:\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)/,/^(?:\/\/.*)/,/^(?:var\b)/,/^(?:signal\b)/,/^(?:input\b)/,/^(?:output\b)/,/^(?:linearCombination\b)/,/^(?:component\b)/,/^(?:template\b)/,/^(?:function\b)/,/^(?:if\b)/,/^(?:else\b)/,/^(?:for\b)/,/^(?:while\b)/,/^(?:do\b)/,/^(?:return\b)/,/^(?:include\b)/,/^(?:0x[0-9A-Fa-f]*)/,/^(?:[0-9]+)/,/^(?:[a-zA-Z][a-zA-Z$_0-9]*)/,/^(?:"[^"]+")/,/^(?:==>)/,/^(?:<==)/,/^(?:-->)/,/^(?:<--)/,/^(?:===)/,/^(?:>>=)/,/^(?:<<=)/,/^(?:&&)/,/^(?:\|\|)/,/^(?:==)/,/^(?:<=)/,/^(?:>=)/,/^(?:!=)/,/^(?:>>)/,/^(?:<<)/,/^(?:\*\*)/,/^(?:\+\+)/,/^(?:--)/,/^(?:\+=)/,/^(?:-=)/,/^(?:\*=)/,/^(?:\/=)/,/^(?:%=)/,/^(?:\|=)/,/^(?:&=)/,/^(?:\^=)/,/^(?:=)/,/^(?:\+)/,/^(?:-)/,/^(?:\*)/,/^(?:\/)/,/^(?:%)/,/^(?:\^)/,/^(?:&)/,/^(?:\|)/,/^(?:!)/,/^(?:<)/,/^(?:>)/,/^(?:!)/,/^(?:\?)/,/^(?::)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:;)/,/^(?:,)/,/^(?:\.)/,/^(?:$)/,/^(?:.)/],
1339conditions: {"INITIAL":{"rules":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73],"inclusive":true}}
1340});
1341return lexer;
1342})();
1343parser.lexer = lexer;
1344function Parser () {
1345  this.yy = {};
1346}
1347Parser.prototype = parser;parser.Parser = Parser;
1348return new Parser;
1349})();
1350
1351
1352if (typeof require !== 'undefined' && typeof exports !== 'undefined') {
1353exports.parser = jaz;
1354exports.Parser = jaz.Parser;
1355exports.parse = function () { return jaz.parse.apply(jaz, arguments); };
1356exports.main = function commonjsMain(args) {
1357    if (!args[1]) {
1358        console.log('Usage: '+args[0]+' FILE');
1359        process.exit(1);
1360    }
1361    var source = require('fs').readFileSync(require('path').normalize(args[1]), "utf8");
1362    return exports.parser.parse(source);
1363};
1364if (typeof module !== 'undefined' && require.main === module) {
1365  exports.main(process.argv.slice(1));
1366}
1367}