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