INNER CODE UNIT · JavaScript
_ast
NerdLang/nerd · lib/parser.js:93
_ast = _ast.slice(0,2).concat([_ast[i+2]]).concat(_ast.slice(5));
reduceParenthesis(_ast);
}
}
else if( (!_ast[i-1] || (_ast[i-1] && noReduceParenthesis.indexOf(_ast[i-1]) < 0) ) && _ast[i] == "(" && _ast[i+2] && _ast[i+2] == ")" )
{
_ast = _ast.slice(0,i).concat([_ast[i+1]]).concat(_ast.slice(i+3));
reduceParenthesis(_ast);
}
}
return _ast;
}
function verifyToken(_token, i, j, map, _env)
{
var check = {check: false, error: false};
for(var k = 0; k < CHECKERS.length; k++)