(node, paramInfo)
| 2347 | // 11.1.5 Object Initialiser |
| 2348 | |
| 2349 | function parsePropertyFunction(node, paramInfo) { |
| 2350 | var previousStrict, body; |
| 2351 | |
| 2352 | previousStrict = strict; |
| 2353 | body = parseFunctionSourceElements(); |
| 2354 | |
| 2355 | if (strict && paramInfo.firstRestricted) { |
| 2356 | tolerateUnexpectedToken(paramInfo.firstRestricted, paramInfo.message); |
| 2357 | } |
| 2358 | if (strict && paramInfo.stricted) { |
| 2359 | tolerateUnexpectedToken(paramInfo.stricted, paramInfo.message); |
| 2360 | } |
| 2361 | |
| 2362 | strict = previousStrict; |
| 2363 | return node.finishFunctionExpression(null, paramInfo.params, paramInfo.defaults, body); |
| 2364 | } |
| 2365 | |
| 2366 | function parsePropertyMethodFunction() { |
| 2367 | var params, method, node = new Node(); |
no test coverage detected