jso-ee
Version:
JavaScript Object Expression Evaluator
534 lines (382 loc) • 105 kB
JavaScript
/* parser generated by jison 0.4.18 */
/*
Returns a Parser object of the following structure:
Parser: {
yy: {}
}
Parser.prototype: {
yy: {},
trace: function(),
symbols_: {associative list: name ==> number},
terminals_: {associative list: number ==> name},
productions_: [...],
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),
table: [...],
defaultActions: {...},
parseError: function(str, hash),
parse: function(input),
lexer: {
EOF: 1,
parseError: function(str, hash),
setInput: function(input),
input: function(),
unput: function(str),
more: function(),
less: function(n),
pastInput: function(),
upcomingInput: function(),
showPosition: function(),
test_match: function(regex_match_array, rule_index),
next: function(),
lex: function(),
begin: function(condition),
popState: function(),
_currentRules: function(),
topState: function(),
pushState: function(condition),
options: {
ranges: boolean (optional: true ==> token location info will include a .range[] member)
flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)
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)
},
performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),
rules: [...],
conditions: {associative list: name ==> set},
}
}
token location info (@$, _$, etc.): {
first_line: n,
last_line: n,
first_column: n,
last_column: n,
range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)
}
the parseError function receives a 'hash' object with these members for lexer and parser errors: {
text: (matched text)
token: (the produced terminal token, if any)
line: (yylineno)
}
while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {
loc: (yylloc)
expected: (string describing the set of expected tokens)
recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)
}
*/
var parser = (function(){
var o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[7,12,13,19,24,27,60,61,62,65,121,122,123,124,125,128],$V1=[1,9],$V2=[1,11],$V3=[1,26],$V4=[1,23],$V5=[1,33],$V6=[1,50],$V7=[1,51],$V8=[1,52],$V9=[1,42],$Va=[1,35],$Vb=[1,36],$Vc=[1,37],$Vd=[1,38],$Ve=[1,39],$Vf=[1,43],$Vg=[7,9,12,13,16,19,24,27,60,61,62,65,121,122,123,124,125,128],$Vh=[7,9,12,13,24,27,60,61,62,65,121,122,123,124,125,128],$Vi=[2,11,31],$Vj=[2,11,31,60,61,64,65,66,71,72,73,76,77,78,79,80,83,85,86,90,94,98,102,106,110],$Vk=[2,11,31,60,61,64,65,66,71,72,73,76,77,78,79,80,83,85,86,90,94,98,102,106,110,114],$Vl=[1,64],$Vm=[2,11,31,106,110],$Vn=[2,11,31,102,106,110],$Vo=[2,11,13,27,31,44,60,61,64,65,66,71,72,73,76,77,78,79,80,83,85,86,90,94,98,102,106,110,114],$Vp=[2,11,31,98,102,106,110],$Vq=[2,9,11,13,15,27,28,31,36,44,60,61,64,65,66,71,72,73,76,77,78,79,80,83,85,86,90,94,98,102,106,110,114,115],$Vr=[1,87],$Vs=[1,82],$Vt=[2,11,31,94,98,102,106,110],$Vu=[1,100],$Vv=[2,11,31,90,94,98,102,106,110],$Vw=[2,11,31,85,86,90,94,98,102,106,110],$Vx=[2,11,31,76,77,78,79,80,83,85,86,90,94,98,102,106,110],$Vy=[2,11,31,71,72,73,76,77,78,79,80,83,85,86,90,94,98,102,106,110],$Vz=[2,11,31,60,61,71,72,73,76,77,78,79,80,83,85,86,90,94,98,102,106,110],$VA=[1,146],$VB=[1,142],$VC=[1,132],$VD=[1,147],$VE=[1,148],$VF=[1,162],$VG=[1,160],$VH=[1,161],$VI=[1,134],$VJ=[1,135],$VK=[1,136],$VL=[1,137],$VM=[1,138],$VN=[1,139],$VO=[1,140],$VP=[1,141],$VQ=[1,143],$VR=[1,144],$VS=[1,145],$VT=[1,149],$VU=[1,150],$VV=[1,151],$VW=[1,152],$VX=[1,153],$VY=[1,154],$VZ=[1,155],$V_=[1,156],$V$=[1,157],$V01=[1,158],$V11=[1,159],$V21=[1,163],$V31=[1,164],$V41=[1,165],$V51=[1,166],$V61=[1,167],$V71=[1,168],$V81=[1,169],$V91=[1,179],$Va1=[15,28,31],$Vb1=[2,9,11,15,28,31,36],$Vc1=[2,71],$Vd1=[2,9,11,15,28,31,36,60,61,64,65,66,71,72,73,76,77,78,79,80,83,85,86,90,94,98,102,106,110,114,115],$Ve1=[2,9,11,15,28,31,36,106,110],$Vf1=[1,187],$Vg1=[2,9,11,15,28,31,36,102,106,110],$Vh1=[1,191],$Vi1=[2,9,11,15,28,31,36,98,102,106,110],$Vj1=[1,192],$Vk1=[2,9,11,15,28,31,36,94,98,102,106,110],$Vl1=[1,193],$Vm1=[1,198],$Vn1=[2,9,11,15,28,31,36,90,94,98,102,106,110],$Vo1=[1,202],$Vp1=[1,203],$Vq1=[2,9,11,15,28,31,36,85,86,90,94,98,102,106,110],$Vr1=[1,204],$Vs1=[1,205],$Vt1=[1,206],$Vu1=[1,207],$Vv1=[1,208],$Vw1=[2,9,11,15,28,31,36,76,77,78,79,80,85,86,90,94,98,102,106,110],$Vx1=[1,209],$Vy1=[1,210],$Vz1=[1,211],$VA1=[2,9,11,15,28,31,36,71,72,73,76,77,78,79,80,83,85,86,90,94,98,102,106,110],$VB1=[1,212],$VC1=[1,213],$VD1=[2,9,11,15,28,31,36,60,61,71,72,73,76,77,78,79,80,83,85,86,90,94,98,102,106,110],$VE1=[1,214],$VF1=[1,215],$VG1=[1,216],$VH1=[2,9,11,15,28,31,36,60,61,64,65,66,71,72,73,76,77,78,79,80,83,85,86,90,94,98,102,106,110],$VI1=[1,219],$VJ1=[7,13,24,27,28,31,43,60,61,62,65,121,122,123,124,125,128],$VK1=[28,31],$VL1=[2,61],$VM1=[15,31],$VN1=[9,31],$VO1=[13,36];
var parser = {trace: function trace () { },
yy: {},
symbols_: {"error":2,"Statement":3,"Block":4,"ExpressionStatement":5,"IfStatement":6,"{":7,"StatementList":8,"}":9,"ExpressionNoBF":10,";":11,"IF":12,"(":13,"Expression":14,")":15,"ELSE":16,"Program":17,"SourceElements":18,"EOF":19,"SourceElement":20,"PrimaryExpression":21,"PrimaryExpressionNoBrace":22,"ObjectLiteral":23,"IDENTIFIER":24,"Literal":25,"ArrayLiteral":26,"[":27,"]":28,"Elision":29,"ElementList":30,",":31,"AssignmentExpression":32,"PropertyNameAndValueList":33,"PropertyAssignment":34,"PropertyName":35,":":36,"FunctionBody":37,"PropertySetParameterList":38,"IdentifierName":39,"StringLiteral":40,"NumericLiteral":41,"MemberExpression":42,"FunctionExpression":43,".":44,"MemberExpressionNoBF":45,"NewExpression":46,"NewExpressionNoBF":47,"CallExpression":48,"Arguments":49,"CallExpressionNoBF":50,"ReservedWord":51,"ArgumentList":52,"LeftHandSideExpression":53,"LeftHandSideExpressionNoBF":54,"PostfixExpression":55,"PostfixExpressionNoBF":56,"UnaryExpression":57,"UnaryExpr":58,"UnaryExpressionNoBF":59,"+":60,"-":61,"!":62,"MultiplicativeExpression":63,"*":64,"/":65,"%":66,"MultiplicativeExpressionNoBF":67,"AdditiveExpression":68,"AdditiveExpressionNoBF":69,"ShiftExpression":70,"<<":71,">>":72,">>>":73,"ShiftExpressionNoBF":74,"RelationalExpression":75,"<":76,">":77,"<=":78,">=":79,"IN":80,"RelationalExpressionNoIn":81,"RelationalExpressionNoBF":82,"INSTANCEOF":83,"EqualityExpression":84,"==":85,"!=":86,"EqualityExpressionNoIn":87,"EqualityExpressionNoBF":88,"BitwiseANDExpression":89,"&":90,"BitwiseANDExpressionNoIn":91,"BitwiseANDExpressionNoBF":92,"BitwiseXORExpression":93,"^":94,"BitwiseXORExpressionNoIn":95,"BitwiseXORExpressionNoBF":96,"BitwiseORExpression":97,"|":98,"BitwiseORExpressionNoIn":99,"BitwiseORExpressionNoBF":100,"LogicalANDExpression":101,"&&":102,"LogicalANDExpressionNoIn":103,"LogicalANDExpressionNoBF":104,"LogicalORExpression":105,"||":106,"LogicalORExpressionNoIn":107,"LogicalORExpressionNoBF":108,"ConditionalExpression":109,"?":110,"ConditionalExpressionNoIn":111,"AssignmentExpressionNoIn":112,"ConditionalExpressionNoBF":113,"=":114,"AssignmentOperator":115,"AssignmentExpressionNoBF":116,"ExpressionNoIn":117,"NullLiteral":118,"BooleanLiteral":119,"RegularExpressionLiteral":120,"NULL":121,"TRUE":122,"FALSE":123,"NUMERIC_LITERAL":124,"STRING_LITERAL":125,"RegularExpressionLiteralBegin":126,"REGEXP_LITERAL":127,"/=":128,"BREAK":129,"CASE":130,"CATCH":131,"CONTINUE":132,"DEBUGGER":133,"DEFAULT":134,"DELETE":135,"DO":136,"FINALLY":137,"FOR":138,"FUNCTION":139,"NEW":140,"RETURN":141,"SWITCH":142,"THIS":143,"THROW":144,"TRY":145,"TYPEOF":146,"VAR":147,"VOID":148,"WHILE":149,"WITH":150,"CLASS":151,"CONST":152,"ENUM":153,"EXPORT":154,"EXTENDS":155,"IMPORT":156,"SUPER":157,"$accept":0,"$end":1},
terminals_: {2:"error",7:"{",9:"}",11:";",12:"IF",13:"(",15:")",16:"ELSE",19:"EOF",24:"IDENTIFIER",27:"[",28:"]",31:",",36:":",37:"FunctionBody",43:"FunctionExpression",44:".",60:"+",61:"-",62:"!",64:"*",65:"/",66:"%",71:"<<",72:">>",73:">>>",76:"<",77:">",78:"<=",79:">=",80:"IN",83:"INSTANCEOF",85:"==",86:"!=",90:"&",94:"^",98:"|",102:"&&",106:"||",110:"?",114:"=",115:"AssignmentOperator",121:"NULL",122:"TRUE",123:"FALSE",124:"NUMERIC_LITERAL",125:"STRING_LITERAL",127:"REGEXP_LITERAL",128:"/=",129:"BREAK",130:"CASE",131:"CATCH",132:"CONTINUE",133:"DEBUGGER",134:"DEFAULT",135:"DELETE",136:"DO",137:"FINALLY",138:"FOR",139:"FUNCTION",140:"NEW",141:"RETURN",142:"SWITCH",143:"THIS",144:"THROW",145:"TRY",146:"TYPEOF",147:"VAR",148:"VOID",149:"WHILE",150:"WITH",151:"CLASS",152:"CONST",153:"ENUM",154:"EXPORT",155:"EXTENDS",156:"IMPORT",157:"SUPER"},
productions_: [0,[3,1],[3,1],[3,1],[4,3],[8,2],[8,0],[5,2],[5,2],[6,5],[6,7],[17,2],[18,2],[18,0],[20,1],[21,1],[21,1],[22,1],[22,1],[22,1],[22,3],[26,2],[26,3],[26,3],[26,4],[26,5],[30,1],[30,2],[30,3],[30,4],[29,1],[29,2],[23,2],[23,3],[23,4],[33,1],[33,3],[34,3],[34,7],[34,8],[35,1],[35,1],[35,1],[38,1],[42,1],[42,1],[42,4],[42,3],[45,1],[45,4],[45,3],[46,1],[47,1],[48,2],[48,2],[48,4],[48,3],[50,2],[50,2],[50,4],[50,3],[39,1],[39,1],[49,2],[49,3],[52,1],[52,3],[53,1],[53,1],[54,1],[54,1],[55,1],[56,1],[57,1],[57,1],[59,1],[59,1],[58,2],[58,2],[58,2],[63,1],[63,3],[63,3],[63,3],[67,1],[67,3],[67,3],[67,3],[68,1],[68,3],[68,3],[69,1],[69,3],[69,3],[70,1],[70,3],[70,3],[70,3],[74,1],[74,3],[74,3],[74,3],[75,1],[75,3],[75,3],[75,3],[75,3],[75,3],[81,1],[81,3],[81,3],[81,3],[81,3],[82,1],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[84,1],[84,3],[84,3],[87,1],[87,3],[87,3],[88,1],[88,3],[88,3],[89,1],[89,3],[91,1],[91,3],[92,1],[92,3],[93,1],[93,3],[95,1],[95,3],[96,1],[96,3],[97,1],[97,3],[99,1],[99,3],[100,1],[100,3],[101,1],[101,3],[103,1],[103,3],[104,1],[104,3],[105,1],[105,3],[107,1],[107,3],[108,1],[108,3],[109,1],[109,5],[111,1],[111,5],[113,1],[113,5],[32,1],[32,3],[32,3],[112,1],[112,3],[116,1],[116,3],[14,1],[14,3],[117,1],[117,3],[10,1],[10,3],[25,1],[25,1],[25,1],[25,1],[25,1],[118,1],[119,1],[119,1],[41,1],[40,1],[120,2],[126,1],[126,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1],[51,1]],
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {
/* this == yyval */
var $0 = $$.length - 1;
switch (yystate) {
case 4:
this.$ = new BlockStatementNode($$[$0-1], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 5: case 12: case 27:
this.$ = $$[$0-1].concat($$[$0]);
break;
case 6: case 13: case 63:
this.$ = [];
break;
case 7:
this.$ = new ExpressionStatementNode($$[$0-1], createSourceLocation(null, _$[$0-1], _$[$0]));
break;
case 8:
this.$ = new ExpressionStatementNode($$[$0-1], createSourceLocation(null, _$[$0-1], _$[$0-1]));
break;
case 9:
this.$ = new IfStatementNode($$[$0-2], $$[$0], null, createSourceLocation(null, _$[$0-4], _$[$0]));
break;
case 10:
this.$ = new IfStatementNode($$[$0-4], $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-6], _$[$0]));
break;
case 11:
this.$ = new ProgramNode($$[$0-1], createSourceLocation(null, _$[$0-1], _$[$0]));
return this.$;
break;
case 17: case 61: case 62:
this.$ = new IdentifierNode($$[$0], createSourceLocation(null, _$[$0], _$[$0]));
break;
case 20: case 64:
this.$ = $$[$0-1];
break;
case 21:
this.$ = new ArrayExpressionNode([], createSourceLocation(null, _$[$0-1], _$[$0]));
break;
case 22: case 23:
this.$ = new ArrayExpressionNode($$[$0-1], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 24:
this.$ = new ArrayExpressionNode($$[$0-2].concat(null), createSourceLocation(null, _$[$0-3], _$[$0]));
break;
case 25:
this.$ = new ArrayExpressionNode($$[$0-3].concat($$[$0-1]), createSourceLocation(null, _$[$0-4], _$[$0]));
break;
case 26: case 35: case 65:
this.$ = [$$[$0]];
break;
case 28: case 36: case 66:
this.$ = $$[$0-2].concat($$[$0]);
break;
case 29:
this.$ = $$[$0-3].concat($$[$0-1]).concat($$[$0]);
break;
case 30:
this.$ = [null, null];
break;
case 31:
this.$ = $$[$0-1].concat(null);
break;
case 32:
this.$ = new ObjectExpressionNode([], createSourceLocation(null, _$[$0-1], _$[$0]));
break;
case 33:
this.$ = new ObjectExpressionNode($$[$0-1], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 34:
this.$ = new ObjectExpressionNode($$[$0-2], createSourceLocation(null, _$[$0-3], _$[$0]));
break;
case 37:
this.$ = {key: $$[$0-2], value: $$[$0], kind: "init"};
break;
case 38:
if ($$[$0-6] === "get") {
this.$ = {key: $$[$0-5], value: (new FunctionExpressionNode(null, [], $$[$0-1], false, false, createSourceLocation(null, _$[$0-5], _$[$0]))), kind: "get"};
} else {
this.parseError("Invalid getter", {});
}
break;
case 39:
if ($$[$0-7] === "set") {
this.$ = {key: $$[$0-6], value: (new FunctionExpressionNode(null, $$[$0-4], $$[$0-1], false, false, createSourceLocation(null, _$[$0-6], _$[$0]))), kind: "set"};
} else {
this.parseError("Invalid setter", {});
}
break;
case 43:
this.$ = [new IdentifierNode($$[$0], createSourceLocation(null, _$[$0], _$[$0]))];
break;
case 46: case 49: case 55: case 59:
this.$ = new MemberExpressionNode($$[$0-3], $$[$0-1], true, createSourceLocation(null, _$[$0-3], _$[$0]));
break;
case 47: case 50: case 56: case 60:
this.$ = new MemberExpressionNode($$[$0-2], $$[$0], false, createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 53: case 54: case 57: case 58:
this.$ = new CallExpressionNode($$[$0-1], $$[$0], createSourceLocation(null, _$[$0-1], _$[$0]));
break;
case 77:
this.$ = new UnaryExpressionNode("+", true, $$[$0], createSourceLocation(null, _$[$0-1], _$[$0]));
break;
case 78:
this.$ = new UnaryExpressionNode("-", true, $$[$0], createSourceLocation(null, _$[$0-1], _$[$0]));
break;
case 79:
this.$ = new UnaryExpressionNode("!", true, $$[$0], createSourceLocation(null, _$[$0-1], _$[$0]));
break;
case 81: case 85:
this.$ = new BinaryExpressionNode("*", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 82: case 86:
this.$ = new BinaryExpressionNode("/", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 83: case 87:
this.$ = new BinaryExpressionNode("%", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 89: case 92:
this.$ = new BinaryExpressionNode("+", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 90: case 93:
this.$ = new BinaryExpressionNode("-", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 95: case 99:
this.$ = new BinaryExpressionNode("<<", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 96: case 100:
this.$ = new BinaryExpressionNode(">>", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 97: case 101:
this.$ = new BinaryExpressionNode(">>>", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 103: case 109: case 114:
this.$ = new BinaryExpressionNode("<", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 104: case 110: case 115:
this.$ = new BinaryExpressionNode(">", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 105: case 111: case 116:
this.$ = new BinaryExpressionNode("<=", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 106: case 112: case 117:
this.$ = new BinaryExpressionNode(">=", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 107: case 119:
this.$ = new BinaryExpressionNode("in", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 118:
this.$ = new BinaryExpressionNode("instanceof", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 121: case 124: case 127:
this.$ = new BinaryExpressionNode("==", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 122: case 125: case 128:
this.$ = new BinaryExpressionNode("!=", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 130: case 132: case 134:
this.$ = new BinaryExpressionNode("&", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 136: case 138: case 140:
this.$ = new BinaryExpressionNode("^", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 142: case 144: case 146:
this.$ = new BinaryExpressionNode("|", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 148: case 150: case 152:
this.$ = new LogicalExpressionNode("&&", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 154: case 156: case 158:
this.$ = new LogicalExpressionNode("||", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 160: case 162: case 164:
this.$ = new ConditionalExpressionNode($$[$0-4], $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-4], _$[$0]));
break;
case 166: case 169: case 171:
this.$ = new AssignmentExpressionNode("=", $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 167:
this.$ = new AssignmentExpressionNode($$[$0-1], $$[$0-2], $$[$0], createSourceLocation(null, _$[$0-2], _$[$0]));
break;
case 173: case 175: case 177:
if ($$[$0-2].type === "SequenceExpression") {
$$[$0-2].expressions.concat($$[$0]);
$$[$0-2].loc = createSourceLocation(null, _$[$0-2], _$[$0]);
this.$ = $$[$0-2];
} else {
this.$ = new SequenceExpressionNode([$$[$0-2], $$[$0]], createSourceLocation(null, _$[$0-2], _$[$0]));
}
break;
case 183:
this.$ = new LiteralNode(null, createSourceLocation(null, _$[$0], _$[$0]));
break;
case 184:
this.$ = new LiteralNode(true, createSourceLocation(null, _$[$0], _$[$0]));
break;
case 185:
this.$ = new LiteralNode(false, createSourceLocation(null, _$[$0], _$[$0]));
break;
case 186:
this.$ = new LiteralNode(parseNumericLiteral($$[$0]), createSourceLocation(null, _$[$0], _$[$0]));
break;
case 187:
this.$ = new LiteralNode($$[$0], createSourceLocation(null, _$[$0], _$[$0]));
break;
case 188:
this.$ = new LiteralNode(parseRegularExpressionLiteral($$[$0-1] + $$[$0]), createSourceLocation(null, _$[$0-1], _$[$0]));
break;
case 189: case 190:
yy.lexer.begin("REGEXP");
break;
}
},
table: [o($V0,[2,13],{17:1,18:2}),{1:[3]},{3:5,4:6,5:7,6:8,7:$V1,10:10,12:$V2,13:$V3,19:[1,3],20:4,22:21,24:$V4,25:24,26:25,27:$V5,40:31,41:30,45:19,47:16,50:17,54:14,56:48,58:49,59:47,60:$V6,61:$V7,62:$V8,65:$V9,67:46,69:45,74:44,82:41,88:34,92:27,96:22,100:20,104:18,108:15,113:13,116:12,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{1:[2,11]},o($V0,[2,12]),o($V0,[2,14]),o($Vg,[2,1]),o($Vg,[2,2]),o($Vg,[2,3]),o($Vh,[2,6],{8:53}),{2:[1,55],11:[1,54],31:[1,56]},{13:[1,57]},o($Vi,[2,176]),o($Vi,[2,170]),o($Vj,[2,72],{114:[1,58]}),o($Vi,[2,163],{106:[1,60],110:[1,59]}),o($Vk,[2,69]),o($Vk,[2,70],{49:61,13:$Vl,27:[1,62],44:[1,63]}),o($Vm,[2,157],{102:[1,65]}),o($Vk,[2,52],{49:66,13:$Vl,27:[1,67],44:[1,68]}),o($Vn,[2,151],{98:[1,69]}),o($Vo,[2,48]),o($Vp,[2,145],{94:[1,70]}),o($Vq,[2,17]),o($Vq,[2,18]),o($Vq,[2,19]),{7:$Vr,13:$V3,14:71,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:72,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vt,[2,139],{90:[1,96]}),o($Vq,[2,178]),o($Vq,[2,179]),o($Vq,[2,180]),o($Vq,[2,181]),o($Vq,[2,182]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,28:[1,97],29:98,30:99,31:$Vu,32:101,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vv,[2,133],{85:[1,102],86:[1,103]}),o($Vq,[2,183]),o($Vq,[2,184]),o($Vq,[2,185]),o($Vq,[2,186]),o($Vq,[2,187]),{127:[1,104]},o($Vw,[2,126],{76:[1,105],77:[1,106],78:[1,107],79:[1,108],80:[1,110],83:[1,109]}),{127:[2,189]},{127:[2,190]},o($Vx,[2,113],{71:[1,111],72:[1,112],73:[1,113]}),o($Vy,[2,98],{60:[1,114],61:[1,115]}),o($Vz,[2,91],{64:[1,116],65:[1,117],66:[1,118]}),o($Vj,[2,84]),o($Vj,[2,75]),o($Vj,[2,76]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:119,58:95,60:$V6,61:$V7,62:$V8,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:121,58:95,60:$V6,61:$V7,62:$V8,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:122,58:95,60:$V6,61:$V7,62:$V8,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{3:124,4:6,5:7,6:8,7:$V1,9:[1,123],10:10,12:$V2,13:$V3,22:21,24:$V4,25:24,26:25,27:$V5,40:31,41:30,45:19,47:16,50:17,54:14,56:48,58:49,59:47,60:$V6,61:$V7,62:$V8,65:$V9,67:46,69:45,74:44,82:41,88:34,92:27,96:22,100:20,104:18,108:15,113:13,116:12,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vg,[2,7]),o($Vg,[2,8]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:125,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,14:126,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:72,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:127,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:128,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:129,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vo,[2,58]),{7:$Vr,13:$V3,14:130,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:72,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{12:$VA,16:$VB,24:$VC,39:131,51:133,80:$VD,83:$VE,121:$VF,122:$VG,123:$VH,129:$VI,130:$VJ,131:$VK,132:$VL,133:$VM,134:$VN,135:$VO,136:$VP,137:$VQ,138:$VR,139:$VS,140:$VT,141:$VU,142:$VV,143:$VW,144:$VX,145:$VY,146:$VZ,147:$V_,148:$V$,149:$V01,150:$V11,151:$V21,152:$V31,153:$V41,154:$V51,155:$V61,156:$V71,157:$V81},{7:$Vr,13:$V3,15:[1,170],21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:172,40:31,41:30,42:79,43:$Vs,46:76,48:77,52:171,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:173,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vo,[2,57]),{7:$Vr,13:$V3,14:174,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:72,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{12:$VA,16:$VB,24:$VC,39:175,51:133,80:$VD,83:$VE,121:$VF,122:$VG,123:$VH,129:$VI,130:$VJ,131:$VK,132:$VL,133:$VM,134:$VN,135:$VO,136:$VP,137:$VQ,138:$VR,139:$VS,140:$VT,141:$VU,142:$VV,143:$VW,144:$VX,145:$VY,146:$VZ,147:$V_,148:$V$,149:$V01,150:$V11,151:$V21,152:$V31,153:$V41,154:$V51,155:$V61,156:$V71,157:$V81},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:176,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:177,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{15:[1,178],31:$V91},o($Va1,[2,172]),o($Vb1,[2,165]),o([2,9,11,15,28,31,36,60,61,64,65,66,71,72,73,76,77,78,79,80,85,86,90,94,98,102,106,110],$Vc1,{114:[1,180],115:[1,181]}),o($Vb1,[2,159],{106:[1,183],110:[1,182]}),o($Vd1,[2,67]),o($Vd1,[2,68],{49:184,13:$Vl,27:[1,185],44:[1,186]}),o($Ve1,[2,153],{102:$Vf1}),o($Vd1,[2,51],{49:188,13:$Vl,27:[1,189],44:[1,190]}),o($Vg1,[2,147],{98:$Vh1}),o($Vq,[2,44]),o($Vq,[2,45]),o($Vi1,[2,141],{94:$Vj1}),o($Vq,[2,15]),o($Vq,[2,16]),o($Vk1,[2,135],{90:$Vl1}),{9:[1,194],12:$VA,16:$VB,24:$Vm1,33:195,34:196,35:197,39:199,40:200,41:201,51:133,80:$VD,83:$VE,121:$VF,122:$VG,123:$VH,124:$Vd,125:$Ve,129:$VI,130:$VJ,131:$VK,132:$VL,133:$VM,134:$VN,135:$VO,136:$VP,137:$VQ,138:$VR,139:$VS,140:$VT,141:$VU,142:$VV,143:$VW,144:$VX,145:$VY,146:$VZ,147:$V_,148:$V$,149:$V01,150:$V11,151:$V21,152:$V31,153:$V41,154:$V51,155:$V61,156:$V71,157:$V81},o($Vn1,[2,129],{85:$Vo1,86:$Vp1}),o($Vq1,[2,120],{76:$Vr1,77:$Vs1,78:$Vt1,79:$Vu1,80:$Vv1}),o($Vw1,[2,102],{71:$Vx1,72:$Vy1,73:$Vz1}),o($VA1,[2,94],{60:$VB1,61:$VC1}),o($VD1,[2,88],{64:$VE1,65:$VF1,66:$VG1}),o($VH1,[2,80]),o($VH1,[2,73]),o($VH1,[2,74]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:217,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vq,[2,21]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,28:[1,218],31:$VI1,32:220,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{28:[1,221],31:[1,222]},o($VJ1,[2,30]),o($VK1,[2,26]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:223,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:224,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vq,[2,188]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:225,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:226,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:227,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:228,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:229,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:230,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:231,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:232,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:233,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:234,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:235,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:236,58:95,60:$V6,61:$V7,62:$V8,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:237,58:95,60:$V6,61:$V7,62:$V8,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:238,58:95,60:$V6,61:$V7,62:$V8,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($VH1,[2,77]),o($VH1,$Vc1),o($VH1,[2,78]),o($VH1,[2,79]),o($Vg,[2,4]),o($Vh,[2,5]),o($Vi,[2,177]),{15:[1,239],31:$V91},o($Vi,[2,171]),{36:[1,240]},o($Vm,[2,158],{102:$Vf1}),{28:[1,241],31:$V91},o($Vo,[2,60]),o($Vq,$VL1),o($Vq,[2,62]),o($Vq,[2,191]),o($Vq,[2,192]),o($Vq,[2,193]),o($Vq,[2,194]),o($Vq,[2,195]),o($Vq,[2,196]),o($Vq,[2,197]),o($Vq,[2,198]),o($Vq,[2,199]),o($Vq,[2,200]),o($Vq,[2,201]),o($Vq,[2,202]),o($Vq,[2,203]),o($Vq,[2,204]),o($Vq,[2,205]),o($Vq,[2,206]),o($Vq,[2,207]),o($Vq,[2,208]),o($Vq,[2,209]),o($Vq,[2,210]),o($Vq,[2,211]),o($Vq,[2,212]),o($Vq,[2,213]),o($Vq,[2,214]),o($Vq,[2,215]),o($Vq,[2,216]),o($Vq,[2,217]),o($Vq,[2,218]),o($Vq,[2,219]),o($Vq,[2,220]),o($Vq,[2,221]),o($Vq,[2,222]),o($Vq,[2,223]),o($Vq,[2,224]),o($Vq,[2,225]),o($Vq,[2,226]),o($Vq,[2,63]),{15:[1,242],31:[1,243]},o($VM1,[2,65]),o($Vn,[2,152],{98:$Vh1}),{28:[1,244],31:$V91},o($Vo,[2,50]),o($Vp,[2,146],{94:$Vj1}),o($Vt,[2,140],{90:$Vl1}),o($Vq,[2,20]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:245,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:246,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:247,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:248,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:249,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vq,[2,54]),{7:$Vr,13:$V3,14:250,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:72,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{12:$VA,16:$VB,24:$VC,39:251,51:133,80:$VD,83:$VE,121:$VF,122:$VG,123:$VH,129:$VI,130:$VJ,131:$VK,132:$VL,133:$VM,134:$VN,135:$VO,136:$VP,137:$VQ,138:$VR,139:$VS,140:$VT,141:$VU,142:$VV,143:$VW,144:$VX,145:$VY,146:$VZ,147:$V_,148:$V$,149:$V01,150:$V11,151:$V21,152:$V31,153:$V41,154:$V51,155:$V61,156:$V71,157:$V81},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:252,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vq,[2,53]),{7:$Vr,13:$V3,14:253,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:72,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{12:$VA,16:$VB,24:$VC,39:254,51:133,80:$VD,83:$VE,121:$VF,122:$VG,123:$VH,129:$VI,130:$VJ,131:$VK,132:$VL,133:$VM,134:$VN,135:$VO,136:$VP,137:$VQ,138:$VR,139:$VS,140:$VT,141:$VU,142:$VV,143:$VW,144:$VX,145:$VY,146:$VZ,147:$V_,148:$V$,149:$V01,150:$V11,151:$V21,152:$V31,153:$V41,154:$V51,155:$V61,156:$V71,157:$V81},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:255,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:256,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:257,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vq,[2,32]),{9:[1,258],31:[1,259]},o($VN1,[2,35]),{36:[1,260]},{12:$VA,16:$VB,24:$VC,35:261,36:$VL1,39:199,40:200,41:201,51:133,80:$VD,83:$VE,121:$VF,122:$VG,123:$VH,124:$Vd,125:$Ve,129:$VI,130:$VJ,131:$VK,132:$VL,133:$VM,134:$VN,135:$VO,136:$VP,137:$VQ,138:$VR,139:$VS,140:$VT,141:$VU,142:$VV,143:$VW,144:$VX,145:$VY,146:$VZ,147:$V_,148:$V$,149:$V01,150:$V11,151:$V21,152:$V31,153:$V41,154:$V51,155:$V61,156:$V71,157:$V81},o($VO1,[2,40]),o($VO1,[2,41]),o($VO1,[2,42]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:262,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:263,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:264,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:265,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:266,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:267,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:268,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:269,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:270,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:271,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:272,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:273,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:274,58:95,60:$V6,61:$V7,62:$V8,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:275,58:95,60:$V6,61:$V7,62:$V8,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:120,55:94,57:276,58:95,60:$V6,61:$V7,62:$V8,65:$V9,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vv,[2,134],{85:$Vo1,86:$Vp1}),o($Vq,[2,22]),o($VJ1,[2,31]),o($VK1,[2,27]),o($Vq,[2,23]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,28:[1,277],29:278,31:$Vu,32:279,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vw,[2,127],{76:$Vr1,77:$Vs1,78:$Vt1,79:$Vu1,80:$Vv1}),o($Vw,[2,128],{76:$Vr1,77:$Vs1,78:$Vt1,79:$Vu1,80:$Vv1}),o($Vx,[2,114],{71:$Vx1,72:$Vy1,73:$Vz1}),o($Vx,[2,115],{71:$Vx1,72:$Vy1,73:$Vz1}),o($Vx,[2,116],{71:$Vx1,72:$Vy1,73:$Vz1}),o($Vx,[2,117],{71:$Vx1,72:$Vy1,73:$Vz1}),o($Vx,[2,118],{71:$Vx1,72:$Vy1,73:$Vz1}),o($Vx,[2,119],{71:$Vx1,72:$Vy1,73:$Vz1}),o($Vy,[2,99],{60:$VB1,61:$VC1}),o($Vy,[2,100],{60:$VB1,61:$VC1}),o($Vy,[2,101],{60:$VB1,61:$VC1}),o($Vz,[2,92],{64:$VE1,65:$VF1,66:$VG1}),o($Vz,[2,93],{64:$VE1,65:$VF1,66:$VG1}),o($Vj,[2,85]),o($Vj,[2,86]),o($Vj,[2,87]),{3:280,4:6,5:7,6:8,7:$V1,10:10,12:$V2,13:$V3,22:21,24:$V4,25:24,26:25,27:$V5,40:31,41:30,45:19,47:16,50:17,54:14,56:48,58:49,59:47,60:$V6,61:$V7,62:$V8,65:$V9,67:46,69:45,74:44,82:41,88:34,92:27,96:22,100:20,104:18,108:15,113:13,116:12,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:281,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vo,[2,59]),o($Vq,[2,64]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:282,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vo,[2,49]),o($Va1,[2,173]),o($Vb1,[2,166]),o($Vb1,[2,167]),{36:[1,283]},o($Ve1,[2,154],{102:$Vf1}),{28:[1,284],31:$V91},o($Vq,[2,56]),o($Vg1,[2,148],{98:$Vh1}),{28:[1,285],31:$V91},o($Vq,[2,47]),o($Vi1,[2,142],{94:$Vj1}),o($Vk1,[2,136],{90:$Vl1}),o($Vn1,[2,130],{85:$Vo1,86:$Vp1}),o($Vq,[2,33]),{9:[1,286],12:$VA,16:$VB,24:$Vm1,34:287,35:197,39:199,40:200,41:201,51:133,80:$VD,83:$VE,121:$VF,122:$VG,123:$VH,124:$Vd,125:$Ve,129:$VI,130:$VJ,131:$VK,132:$VL,133:$VM,134:$VN,135:$VO,136:$VP,137:$VQ,138:$VR,139:$VS,140:$VT,141:$VU,142:$VV,143:$VW,144:$VX,145:$VY,146:$VZ,147:$V_,148:$V$,149:$V01,150:$V11,151:$V21,152:$V31,153:$V41,154:$V51,155:$V61,156:$V71,157:$V81},{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:288,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},{13:[1,289]},o($Vq1,[2,121],{76:$Vr1,77:$Vs1,78:$Vt1,79:$Vu1,80:$Vv1}),o($Vq1,[2,122],{76:$Vr1,77:$Vs1,78:$Vt1,79:$Vu1,80:$Vv1}),o($Vw1,[2,103],{71:$Vx1,72:$Vy1,73:$Vz1}),o($Vw1,[2,104],{71:$Vx1,72:$Vy1,73:$Vz1}),o($Vw1,[2,105],{71:$Vx1,72:$Vy1,73:$Vz1}),o($Vw1,[2,106],{71:$Vx1,72:$Vy1,73:$Vz1}),o($Vw1,[2,107],{71:$Vx1,72:$Vy1,73:$Vz1}),o($VA1,[2,95],{60:$VB1,61:$VC1}),o($VA1,[2,96],{60:$VB1,61:$VC1}),o($VA1,[2,97],{60:$VB1,61:$VC1}),o($VD1,[2,89],{64:$VE1,65:$VF1,66:$VG1}),o($VD1,[2,90],{64:$VE1,65:$VF1,66:$VG1}),o($VH1,[2,81]),o($VH1,[2,82]),o($VH1,[2,83]),o($Vq,[2,24]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,28:[1,290],31:$VI1,32:291,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($VK1,[2,28]),o([7,9,12,13,19,24,27,60,61,62,65,121,122,123,124,125,128],[2,9],{16:[1,292]}),o($Vi,[2,164]),o($VM1,[2,66]),{7:$Vr,13:$V3,21:81,22:84,23:85,24:$V4,25:24,26:25,27:$V5,32:293,40:31,41:30,42:79,43:$Vs,46:76,48:77,53:74,55:94,57:93,58:95,60:$V6,61:$V7,62:$V8,63:92,65:$V9,68:91,70:90,75:89,84:88,89:86,93:83,97:80,101:78,105:75,109:73,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vq,[2,55]),o($Vq,[2,46]),o($Vq,[2,34]),o($VN1,[2,36]),o($VN1,[2,37]),{15:[1,294],24:[1,296],38:295},o($Vq,[2,25]),o($VK1,[2,29]),{3:297,4:6,5:7,6:8,7:$V1,10:10,12:$V2,13:$V3,22:21,24:$V4,25:24,26:25,27:$V5,40:31,41:30,45:19,47:16,50:17,54:14,56:48,58:49,59:47,60:$V6,61:$V7,62:$V8,65:$V9,67:46,69:45,74:44,82:41,88:34,92:27,96:22,100:20,104:18,108:15,113:13,116:12,118:28,119:29,120:32,121:$Va,122:$Vb,123:$Vc,124:$Vd,125:$Ve,126:40,128:$Vf},o($Vb1,[2,160]),{7:[1,298]},{15:[1,299]},{15:[2,43]},o($Vg,[2,10]),{37:[1,300]},{7:[1,301]},{9:[1,302]},{37:[1,303]},o($VN1,[2,38]),{9:[1,304]},o($VN1,[2,39])],
defaultActions: {3:[2,11],42:[2,189],43:[2,190],296:[2,43]},
parseError: function parseError (str, hash) {
if (hash.recoverable) {
this.trace(str);
} else {
var error = new Error(str);
error.hash = hash;
throw error;
}
},
parse: function parse (input) {
var self = this,
stack = [0],
tstack = [], // token stack
vstack = [null], // semantic value stack
lstack = [], // location stack
table = this.table,
yytext = '',
yylineno = 0,
yyleng = 0,
recovering = 0,
TERROR = 2,
EOF = 1;
var args = lstack.slice.call(arguments, 1);
//this.reductionCount = this.shiftCount = 0;
var lexer = Object.create(this.lexer);
var sharedState = { yy: {} };
// copy state
for (var k in this.yy) {
if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
sharedState.yy[k] = this.yy[k];
}
}
lexer.setInput(input, sharedState.yy);
sharedState.yy.lexer = lexer;
sharedState.yy.parser = this;
if (typeof lexer.yylloc == 'undefined') {
lexer.yylloc = {};
}
var yyloc = lexer.yylloc;
lstack.push(yyloc);
var ranges = lexer.options && lexer.options.ranges;
if (typeof sharedState.yy.parseError === 'function') {
this.parseError = sharedState.yy.parseError;
} else {
this.parseError = Object.getPrototypeOf(this).parseError;
}
function popStack (n) {
stack.length = stack.length - 2 * n;
vstack.length = vstack.length - n;
lstack.length = lstack.length - n;
}
_token_stack:
var lex = function () {
var token;
token = lexer.lex() || EOF;
// if token isn't its numeric value, convert
if (typeof token !== 'number') {
token = self.symbols_[token] || token;
}
return token;
}
var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
while (true) {
// retreive state number from top of stack
state = stack[stack.length - 1];
// use default actions if available
if (this.defaultActions[state]) {
action = this.defaultActions[state];
} else {
if (symbol === null || typeof symbol == 'undefined') {
symbol = lex();
}
// read action for current state and first input
action = table[state] && table[state][symbol];
}
_handle_error:
// handle parse error
if (typeof action === 'undefined' || !action.length || !action[0]) {
var error_rule_depth;
var errStr = '';
// Return the rule stack depth where the nearest error rule can be found.
// Return FALSE when no error recovery rule was found.
function locateNearestErrorRecoveryRule(state) {
var stack_probe = stack.length - 1;
var depth = 0;
// try to recover from error
for(;;) {
// check for error recovery rule in this state
if ((TERROR.toString()) in table[state]) {
return depth;
}
if (state === 0 || stack_probe < 2) {
return false; // No suitable error recovery rule available.
}
stack_probe -= 2; // popStack(1): [symbol, action]
state = stack[stack_probe];